Skip to content

Commit 69ed0fc

Browse files
committed
Fix SDL builds on unsigned char platforms. Closes #726
1 parent 94db235 commit 69ed0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SDL/console.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ mainloop(char *(*completer)(const char *substring, uintptr_t *context))
656656
else {
657657
c = raw_getc();
658658
}
659-
if (c == EOF) {
659+
if (c == (char)EOF) {
660660
return 0;
661661
}
662662

0 commit comments

Comments
 (0)