llvmpipe: brackets around macro arg
authorKeith Whitwell <keithw@vmware.com>
Sun, 5 Sep 2010 15:11:25 +0000 (16:11 +0100)
committerKeith Whitwell <keithw@vmware.com>
Wed, 15 Sep 2010 13:30:01 +0000 (14:30 +0100)
src/gallium/drivers/llvmpipe/lp_perf.h

index c28652fc3052a91ff4e2ba58a0ae96d5d482feb6..b23a100b8737538160bfe3f9c21c506ab1b949f1 100644 (file)
@@ -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