diff options
Diffstat (limited to 'demos/modules/ginput')
-rw-r--r-- | demos/modules/ginput/keyboard/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/modules/ginput/keyboard/main.c b/demos/modules/ginput/keyboard/main.c index d6a987b0..0e10de8b 100644 --- a/demos/modules/ginput/keyboard/main.c +++ b/demos/modules/ginput/keyboard/main.c @@ -98,7 +98,7 @@ int main(void) { if (pk->bytecount) { gwinPrintf(GW, " Keys:"); for (i = 0; i < pk->bytecount; i++) - gwinPrintf(GW, " 0x%02X", (int)(uint8_t)pk->c[i]); + gwinPrintf(GW, " 0x%02X", (int)(gU8)pk->c[i]); gwinPrintf(GW, " ["); for (i = 0; i < pk->bytecount; i++) gwinPrintf(GW, "%c", pk->c[i] >= ' ' && pk->c[i] <= '~' ? pk->c[i] : ' '); |