Index: src_plugins/hid_lesstif/main.c =================================================================== --- src_plugins/hid_lesstif/main.c (revision 1506) +++ src_plugins/hid_lesstif/main.c (revision 1507) @@ -1685,7 +1685,7 @@ return w; } -static short int lesstif_translate_key(char *desc, int len) +static unsigned short int lesstif_translate_key(char *desc, int len) { KeySym key = XStringToKeysym(desc); if (key == NoSymbol && len > 1) {