summaryrefslogtreecommitdiff
path: root/framebuffer/fbtk.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-02 22:36:51 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-02 22:36:51 +0000
commit1aeecf401cc67a08ce35d968500efc7a3de1bce1 (patch)
tree3b27cebf4e941a85888e139d2bdd9c8259546c04 /framebuffer/fbtk.c
parente6f70d976043a18bd8e48350407cca1d31059852 (diff)
downloadnetsurf-1aeecf401cc67a08ce35d968500efc7a3de1bce1.tar.gz
netsurf-1aeecf401cc67a08ce35d968500efc7a3de1bce1.tar.bz2
Silence warnings
svn path=/trunk/netsurf/; revision=8274
Diffstat (limited to 'framebuffer/fbtk.c')
-rw-r--r--framebuffer/fbtk.c4
1 files changed, 2 insertions, 2 deletions
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;