summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wasm-binary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index a5b4681f0..e51d194b1 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -329,7 +329,7 @@ enum MemoryAccess {
} // namespace BinaryConsts
-char binaryWasmType(WasmType type) {
+int8_t binaryWasmType(WasmType type) {
switch (type) {
case none: return 0;
case i32: return 1;