diff options
-rw-r--r-- | src/wasm.h | 2 |
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 { |