Skip to content

Commit

Permalink
fix getopt return value
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman1001 committed Jan 2, 2024
1 parent fc54e61 commit f0f9656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/deps/amiitool/amiitool.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int main(int argc, char **argv) {
char op = '\0';
bool lenient = false;

char c;
int c;
while ((c = getopt(argc, argv, "edci:s:o:k:l")) != -1) {
switch (c) {
case 'e':
Expand Down

0 comments on commit f0f9656

Please sign in to comment.