tremoved int cast in TAGMASK as suggested by nsz - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit da80487c070b4004bf7451b069472b66320030f8
(DIR) parent d9779c06fc90879cdf14a65e934f338244e4fcd3
(HTM) Author: Anselm R Garbe <garbeam@gmail.com>
Date: Tue, 14 Jul 2009 16:04:07 +0100
removed int cast in TAGMASK as suggested by nsz
Diffstat:
M dwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/dwm.c b/dwm.c
t@@ -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 */