From: Keith Whitwell Date: Sun, 5 Sep 2010 15:11:25 +0000 (+0100) Subject: llvmpipe: brackets around macro arg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc2ed02c0a39443b4f46771a0d4e58f0be900859;p=mesa.git llvmpipe: brackets around macro arg --- diff --git a/src/gallium/drivers/llvmpipe/lp_perf.h b/src/gallium/drivers/llvmpipe/lp_perf.h index c28652fc305..b23a100b873 100644 --- a/src/gallium/drivers/llvmpipe/lp_perf.h +++ b/src/gallium/drivers/llvmpipe/lp_perf.h @@ -74,7 +74,7 @@ extern struct lp_counters lp_count; #define LP_COUNT_GET(counter) (lp_count.counter) #else #define LP_COUNT(counter) -#define LP_COUNT_ADD(counter, incr) (void) incr +#define LP_COUNT_ADD(counter, incr) (void)(incr) #define LP_COUNT_GET(counter) 0 #endif