--- g15macro-1.0.5/g15macro.c +++ g15macro-1.0.5/g15macro.c @@ -188,7 +188,7 @@ XK_abovedot }; -int map_gkey(keystate){ +int map_gkey(int keystate){ int retval = -1; switch(keystate){ case G15_KEY_G1: retval = 0; break;