Merge pull request #158 from sateler/getopt_api_bugfix

getopt API uses int as return value, bugfix.
This commit is contained in:
kernc 2016-08-23 01:49:45 +02:00 committed by GitHub
commit 0aab01a5c5
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)