From da80487c070b4004bf7451b069472b66320030f8 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Tue, 14 Jul 2009 16:04:07 +0100 Subject: removed int cast in TAGMASK as suggested by nsz --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3-13-gbd6f