aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/ginput/keyboard/main.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-11-03 10:51:23 +1000
committerinmarket <andrewh@inmarket.com.au>2018-11-03 10:51:23 +1000
commit7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d (patch)
tree95cf152ef65ff19c7b2515b427bbe86b92b611d0 /demos/modules/ginput/keyboard/main.c
parent8bd70d953bcd3e32ceb4e45a4e561c973726280a (diff)
downloaduGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.gz
uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.bz2
uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.zip
For all source files update integer types to the new gI8 etc type names
Diffstat (limited to 'demos/modules/ginput/keyboard/main.c')
-rw-r--r--demos/modules/ginput/keyboard/main.c2
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] : ' ');