removed int cast in TAGMASK as suggested by nsz
authorAnselm R Garbe <garbeam@gmail.com>
Tue, 14 Jul 2009 16:04:07 +0100
changeset 1463 ba3114b785a1
parent 1462 7997ebe5484f
child 1464 555070221577
removed int cast in TAGMASK as suggested by nsz
dwm.c
--- a/dwm.c	Tue Jul 14 16:01:14 2009 +0100
+++ b/dwm.c	Tue Jul 14 16:04:07 2009 +0100
@@ -51,7 +51,7 @@
 #define MOUSEMASK               (BUTTONMASK|PointerMotionMask)
 #define WIDTH(X)                ((X)->w + 2 * (X)->bw)
 #define HEIGHT(X)               ((X)->h + 2 * (X)->bw)
-#define TAGMASK                 ((int)((1 << LENGTH(tags)) - 1))
+#define TAGMASK                 ((1 << LENGTH(tags)) - 1)
 #define TEXTW(X)                (textnw(X, strlen(X)) + dc.font.height)
 
 /* enums */