summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s2wasm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index e6991e103..d39ed3b71 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -363,7 +363,8 @@ private:
curr->type = type;
int32_t bytes = getInt();
curr->bytes = bytes > 0 ? bytes : getWasmTypeSize(type);
- curr->signed_ = match("_u");
+ curr->signed_ = match("_s");
+ match("_u");
Name assign = getAssign();
curr->offset = getInt();
curr->align = curr->bytes; // XXX