Mesa (master): llvmpipe: brackets around macro arg
Keith Whitwell
keithw at kemper.freedesktop.org
Wed Sep 15 15:29:26 UTC 2010
Module: Mesa
Branch: master
Commit: cc2ed02c0a39443b4f46771a0d4e58f0be900859
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc2ed02c0a39443b4f46771a0d4e58f0be900859
Author: Keith Whitwell <keithw at vmware.com>
Date: Sun Sep 5 16:11:25 2010 +0100
llvmpipe: brackets around macro arg
---
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 c28652f..b23a100 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
More information about the mesa-commit
mailing list