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 c28652f..b23a100 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