From 181f43ddc2a90b3d837c3d63d712feba87d587de Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Fri, 13 Jun 2008 23:38:09 +0200 Subject: [PATCH] fix unsafe macros Signed-off-by: Pierre Habouzit --- widget.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widget.h b/widget.h index c4746892a..9f5b54f10 100644 --- a/widget.h +++ b/widget.h @@ -25,9 +25,9 @@ #include "structs.h" -#define WIDGET_CACHE_CLIENTS 1<<0 -#define WIDGET_CACHE_LAYOUTS 1<<1 -#define WIDGET_CACHE_TAGS 1<<2 +#define WIDGET_CACHE_CLIENTS (1<<0) +#define WIDGET_CACHE_LAYOUTS (1<<1) +#define WIDGET_CACHE_TAGS (1<<2) #define WIDGET_CACHE_ALL (WIDGET_CACHE_CLIENTS | WIDGET_CACHE_LAYOUTS | WIDGET_CACHE_TAGS) typedef widget_t *(widget_constructor_t)(alignment_t);