diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-02-16 15:38:54 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-16 15:38:54 +0100 |
commit | 365c9ba4e223bd42e3e34839caaf4eb41c33c83a (patch) | |
tree | 470a45db9f17ea4755993be936fc9ae6da49fbe4 /src | |
parent | b08d537d57b90e3469ad293d89383ad8e4d9caee (diff) |
Make i a size_t
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; |