]> code.delx.au - spectrwm/blobdiff - lib/swm_hack.c
Fix parse_rgb() 8-bit to 16-bit color conversion
[spectrwm] / lib / swm_hack.c
index e6df1b080af3747f20f174789ee459bb482350dd..c992689057b20d38ff1edcecc203f704cf5fe369 100644 (file)
@@ -234,7 +234,7 @@ void
 XtAppNextEvent(XtAppContext app_context, XEvent *event_return)
 {
        static ANEF     *func = NULL;
-       static int      kp_add = 0, kp_subtract = 0;
+       static KeyCode  kp_add = 0, kp_subtract = 0;
 
        /* find the real Xlib and the real X function */
        if (!lib_xtlib)