From 2505c8c112ee33308b6cbc22b5406c1fa23ddfe1 Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 18 Jul 2012 23:14:56 -0400 Subject: [PATCH] use %ld to print longs --- spectrwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2