Silence warnings

svn path=/trunk/netsurf/; revision=8274
This commit is contained in:
John Mark Bell 2009-07-02 22:36:51 +00:00
parent e6f70d9760
commit 1aeecf401c
1 changed files with 2 additions and 2 deletions

View File

@ -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;