]> code.delx.au - spectrwm/commitdiff
use %ld to print longs
authorDavid Hill <dhill@conformal.com>
Thu, 19 Jul 2012 03:14:56 +0000 (23:14 -0400)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 22:00:02 +0000 (06:00 +0800)
spectrwm.c

index dbd7207a3470ea973b671858d6c98b9730a54749..331dabccf945d404a294dc940efe4b16607e979c 100644 (file)
@@ -961,8 +961,8 @@ ewmh_update_win_state(struct ws_win *win, long state, long action)
        if (win == NULL)
                return;
 
-       DNPRINTF(SWM_D_PROP, "ewmh_update_win_state: window: 0x%x, state: %d, "
-           "action: %d\n", win->id, state, action);
+       DNPRINTF(SWM_D_PROP, "ewmh_update_win_state: window: 0x%x, state: %ld, "
+           "action: %ld\n", win->id, state, action);
 
        if (state == ewmh[_NET_WM_STATE_FULLSCREEN].atom)
                mask = EWMH_F_FULLSCREEN;