summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index dfd540155..fb1b533b9 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -932,7 +932,7 @@ public:
size_t initial, max;
std::vector<Segment> segments;
- Memory() : initial(0), max(-1) {}
+ Memory() : initial(0), max((uint32_t)-1) {}
};
class Module {