getopt API uses int as return value
This commit is contained in:
parent
bdfa78af1c
commit
355d1f8327
|
@ -59,7 +59,7 @@ void process_command_line_arguments(int argc, char **argv)
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
||||||
char c;
|
int c;
|
||||||
int option_index;
|
int option_index;
|
||||||
|
|
||||||
while ((c = getopt_long(argc, argv, "sm:o:ukd:?", long_options, &option_index)) != -1)
|
while ((c = getopt_long(argc, argv, "sm:o:ukd:?", long_options, &option_index)) != -1)
|
||||||
|
|
Loading…
Reference in New Issue