From 1aeecf401cc67a08ce35d968500efc7a3de1bce1 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 2 Jul 2009 22:36:51 +0000 Subject: Silence warnings svn path=/trunk/netsurf/; revision=8274 --- framebuffer/fbtk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framebuffer') diff --git a/framebuffer/fbtk.c b/framebuffer/fbtk.c index 70e94b03f..0284b19a1 100644 --- a/framebuffer/fbtk.c +++ b/framebuffer/fbtk.c @@ -1348,10 +1348,10 @@ int fbtk_keycode_to_ucs4(int code, uint8_t mods) int ucs4 = -1; if (mods) { - if ((code >= 0) && (code < sizeof(sh_keymap))) + if ((code >= 0) && (code < (int) sizeof(sh_keymap))) ucs4 = sh_keymap[code]; } else { - if ((code >= 0) && (code < sizeof(keymap))) + if ((code >= 0) && (code < (int) sizeof(keymap))) ucs4 = keymap[code]; } return ucs4; -- cgit v1.2.3