Commit 0aab01a5 authored by kernc's avatar kernc Committed by GitHub

Merge pull request #158 from sateler/getopt_api_bugfix

getopt API uses int as return value, bugfix.
parents bdfa78af 355d1f83
......@@ -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)
......
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