Skip to content

Commit f0f9656

Browse files
committed
fix getopt return value
1 parent fc54e61 commit f0f9656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/deps/amiitool/amiitool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ int main(int argc, char **argv) {
4343
char op = '\0';
4444
bool lenient = false;
4545

46-
char c;
46+
int c;
4747
while ((c = getopt(argc, argv, "edci:s:o:k:l")) != -1) {
4848
switch (c) {
4949
case 'e':

0 commit comments

Comments
 (0)