getopt API uses int as return value

This commit is contained in:
Ricardo Sateler 2016-08-22 16:58:17 -03:00
parent bdfa78af1c
commit 355d1f8327
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ void process_command_line_arguments(int argc, char **argv)
{0}
};
char c;
int c;
int option_index;
while ((c = getopt_long(argc, argv, "sm:o:ukd:?", long_options, &option_index)) != -1)