Skip to content

Commit

Permalink
getopt_long returns an int, not a char.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakibaki committed Jul 7, 2018
1 parent 94d55a9 commit 0b30b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ int main(int argc, char **argv) {

while (1) {
int option_index;
char c;
int c;
static struct option long_options[] =
{
{"extract", 0, NULL, 'x'},
Expand Down

0 comments on commit 0b30b8c

Please sign in to comment.