Skip to content

Commit

Permalink
Merge pull request #35 from jakibaki/master
Browse files Browse the repository at this point in the history
getopt_long returns an int, not a char.
  • Loading branch information
SciresM committed Jul 24, 2018
2 parents 221d009 + 0b30b8c commit 84715a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -128,7 +128,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 84715a8

Please sign in to comment.