summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 5b56cd62d..987a8da6b 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -270,8 +270,8 @@ enum HostOp {
};
#define assert_node(condition, node) \
- if (!condition) { \
- std::cerr << "node: " << node << std::endl; \
+ if (!(condition)) { \
+ std::cerr << "node: " << (node) << std::endl; \
assert(0 && #condition); \
}