aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2009-07-14 16:04:07 +0100
committerAnselm R Garbe <garbeam@gmail.com>2009-07-14 16:04:07 +0100
commitda80487c070b4004bf7451b069472b66320030f8 (patch)
tree0ec8a5a3057cf386e0b306e33aeba4691f91d685
parentd9779c06fc90879cdf14a65e934f338244e4fcd3 (diff)
removed int cast in TAGMASK as suggested by nsz
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 7a6b82f..6ddf266 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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 */