Commit 355d1f83 authored by Ricardo Sateler's avatar Ricardo Sateler

getopt API uses int as return value

parent bdfa78af
...@@ -59,7 +59,7 @@ void process_command_line_arguments(int argc, char **argv) ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment