diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-09-05 16:11:25 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-09-15 14:30:01 +0100 |
commit | cc2ed02c0a39443b4f46771a0d4e58f0be900859 (patch) | |
tree | 44210d46b29fa569bc9e13b80dbffcea4181f677 /src/gallium/drivers | |
parent | e3c46cf58684785ab16862548d6806227f0bdd21 (diff) |
llvmpipe: brackets around macro arg
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_perf.h | 2 |
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 |