diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h index 998c0bd50..a91a1bd7f 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -803,7 +803,8 @@ public: struct Segment { size_t offset; const char* data; - Segment(size_t offset, const char *data) : offset(offset), data(data) {} + size_t size; + Segment(size_t offset, const char *data, size_t size) : offset(offset), data(data), size(size) {} }; size_t initial, max; |