diff --git a/ref/uxn.c b/ref/uxn.c index f6dee7a..866b0ee 100644 --- a/ref/uxn.c +++ b/ref/uxn.c @@ -133,7 +133,7 @@ main(int argc, char **argv) console_input(&u, '\n', i == argc - 1 ? 0x4 : 0x3); } while(!u.dev[0x0f]) { - char c = fgetc(stdin); + int c = fgetc(stdin); if(c == EOF) { console_input(&u, 0x00, 0x4); break;