From: David Hill Date: Thu, 19 Jul 2012 03:14:56 +0000 (-0400) Subject: use %ld to print longs X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=2505c8c112ee33308b6cbc22b5406c1fa23ddfe1;p=spectrwm.git use %ld to print longs --- diff --git a/spectrwm.c b/spectrwm.c index dbd7207..331dabc 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -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;