changeset: 1463:ba3114b785a1
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Tue Jul 14 16:04:07 2009 +0100
files: dwm.c
description:
removed int cast in TAGMASK as suggested by nsz
diff -r 7997ebe5484f -r ba3114b785a1 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 */
Received on Tue Jul 14 2009 - 15:04:12 UTC
This archive was generated by hypermail 2.2.0 : Tue Jul 14 2009 - 15:12:06 UTC