Merge pull request #158 from sateler/getopt_api_bugfix
getopt API uses int as return value, bugfix.
This commit is contained in:
commit
0aab01a5c5
|
@ -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