getopt return value changed from char to int (https://github.com/clicon/clixon/issues/58)

This commit is contained in:
Olof hagsand 2018-12-01 18:34:52 +01:00
parent 39a5086218
commit d09a8c08aa
12 changed files with 17 additions and 14 deletions

View file

@ -218,7 +218,7 @@ main(int argc, char **argv)
int timeout = 10;
char start[27] = {0,}; /* strlen = 0 */
char stop[27] = {0,};
char c;
int c;
char *argv0 = argv[0];
struct timeval now;