Skip to content

Commit

Permalink
Merge pull request #14 from l29ah/master
Browse files Browse the repository at this point in the history
fixed co2mond hanging on machines with unsigned char type
  • Loading branch information
dmage committed Oct 16, 2015
2 parents c8422cc + 9964843 commit 01eb85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion co2mond/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ int main(int argc, char *argv[])
char *pidfile = 0;
char *logfile = 0;

char c;
int c;
int opterr = 0;
int show_help = 0;
while ((c = getopt(argc, argv, ":dhuD:l:p:")) != -1)
Expand Down

0 comments on commit 01eb85a

Please sign in to comment.