Skip to content
Permalink
Browse files

Merge pull request #158 from sateler/getopt_api_bugfix

getopt API uses int as return value, bugfix.
  • Loading branch information...
kernc committed Aug 22, 2016
2 parents bdfa78a + 355d1f8 commit 0aab01a5c5f6d2391b4e9df47f22fa9d2cfdebef
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/args.cc
@@ -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)

0 comments on commit 0aab01a

Please sign in to comment.
You can’t perform that action at this time.