diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ahoy/emulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ahoy/emulator.c b/src/ahoy/emulator.c index ff7f97d..749e3a2 100644 --- a/src/ahoy/emulator.c +++ b/src/ahoy/emulator.c @@ -252,7 +252,7 @@ opexec(uint16_t op) static bool any_key_pressed = false; static uint8_t key = 0xFF; - for (uint8_t i = 0; key == 0xFF && i < lengthof(c8.kbd); i++) { + for (size_t i = 0; key == 0xFF && i < lengthof(c8.kbd); i++) { if (c8.kbd[i]) { key = i; any_key_pressed = true; |