Skip to content

Commit

Permalink
Merge branch 'master' of github.com:attractivechaos/klib
Browse files Browse the repository at this point in the history
  • Loading branch information
attractivechaos committed Feb 27, 2019
2 parents 1d5e983 + 45ca322 commit cc7e69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ketopt.h
Expand Up @@ -93,7 +93,7 @@ static int ketopt(ketopt_t *s, int argc, char *argv[], int permute, const char *
}
}
} else { /* a short option */
char *p;
const char *p;
if (s->pos == 0) s->pos = 1;
opt = s->opt = argv[s->i][s->pos++];
p = strchr((char*)ostr, opt);
Expand Down

0 comments on commit cc7e69f

Please sign in to comment.