summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_perf.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-09-05 16:11:25 +0100
committerKeith Whitwell <keithw@vmware.com>2010-09-15 14:30:01 +0100
commitcc2ed02c0a39443b4f46771a0d4e58f0be900859 (patch)
tree44210d46b29fa569bc9e13b80dbffcea4181f677 /src/gallium/drivers/llvmpipe/lp_perf.h
parente3c46cf58684785ab16862548d6806227f0bdd21 (diff)
llvmpipe: brackets around macro arg
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_perf.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_perf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_perf.h b/src/gallium/drivers/llvmpipe/lp_perf.h
index c28652fc30..b23a100b87 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