Skip to content
Permalink
Browse files

getopt API uses int as return value

  • Loading branch information...
rsateler committed Aug 22, 2016
1 parent bdfa78a commit 355d1f832768d4629a6b4b224ca13dbfbc5fd340
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 355d1f8

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