summaryrefslogtreecommitdiff
path: root/src/asm2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm2wasm.h')
-rw-r--r--src/asm2wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h
index 0c7f58a04..ec47abb7f 100644
--- a/src/asm2wasm.h
+++ b/src/asm2wasm.h
@@ -358,7 +358,7 @@ private:
abort(); // avoid warning
}
- int64_t bytesToShift(unsigned bytes) {
+ int32_t bytesToShift(unsigned bytes) {
switch (bytes) {
case 1: return 0;
case 2: return 1;