summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/statsobj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/statsobj.h b/runtime/statsobj.h
index 1ab0218..7447cde 100644
--- a/runtime/statsobj.h
+++ b/runtime/statsobj.h
@@ -99,7 +99,7 @@ PROTOTYPEObj(statsobj);
*/
#define STATSCOUNTER_DEF(ctr, mut) \
intctr_t ctr; \
- DEF_ATOMIC_HELPER_MUT(mut)
+ DEF_ATOMIC_HELPER_MUT(mut);
#define STATSCOUNTER_INIT(ctr, mut) \
INIT_ATOMIC_HELPER_MUT(mut); \
@@ -107,7 +107,7 @@ PROTOTYPEObj(statsobj);
#define STATSCOUNTER_INC(ctr, mut) \
if(GatherStats) \
- ATOMIC_INC(&ctr, mut);
+ ATOMIC_INC(&ctr, &mut);
#define STATSCOUNTER_DEC(ctr, mut) \
if(GatherStats) \