aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2009-06-17 13:08:37 +0000
committerokan2009-06-17 13:08:37 +0000
commit49fe3deaf23f120e173706885154bd5bbd749786 (patch)
tree1831d7d80f9aac449c8530ddaeefd3563e8c2bb3
parent967f1dffd0de937b27d74867e236d4bc08bb5191 (diff)
downloadcwm-49fe3deaf23f120e173706885154bd5bbd749786.tar.gz
remove unnecessary casts; from Thomas Pfaff
ok oga@
Diffstat (limited to '')
-rw-r--r--xutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xutil.c b/xutil.c
index 4b03595..6bb40bc 100644
--- a/xutil.c
+++ b/xutil.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: xutil.c,v 1.15 2009/05/17 23:40:57 okan Exp $
+ * $Id: xutil.c,v 1.16 2009/06/17 13:08:37 okan Exp $
*/
#include "headers.h"
@@ -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,