summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2009-06-17 13:08:37 +0000
committerokan <okan>2009-06-17 13:08:37 +0000
commit11b4b7fec6bb62598d06a09c61ff470097ff6bb8 (patch)
tree52bb09bd01e0fc87ffed0a20d3a456be7ae88cd9
parent61f841ea589c4f20cdc7c2d5b6a08567e9ca2487 (diff)
downloadcwm-11b4b7fec6bb62598d06a09c61ff470097ff6bb8.tar.gz
cwm-11b4b7fec6bb62598d06a09c61ff470097ff6bb8.tar.xz
cwm-11b4b7fec6bb62598d06a09c61ff470097ff6bb8.zip
remove unnecessary casts; from Thomas Pfaff
ok oga@
-rw-r--r--xutil.c4
1 files 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,