From 11b4b7fec6bb62598d06a09c61ff470097ff6bb8 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 17 Jun 2009 13:08:37 +0000 Subject: [PATCH] remove unnecessary casts; from Thomas Pfaff ok oga@ --- xutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xutil.c b/xutil.c index e5129b6..90b90d5 100644 --- a/xutil.c +++ b/xutil.c @@ -161,8 +161,8 @@ xu_setstate(struct client_ctx *cc, int state) { long dat[2]; - dat[0] = (long)state; - dat[1] = (long)None; + dat[0] = state; + dat[1] = None; cc->state = state; XChangeProperty(X_Dpy, cc->win, WM_STATE, WM_STATE, 32,