diff options
author | JF Bastien <jfb@chromium.org> | 2015-12-22 13:56:21 -0800 |
---|---|---|
committer | JF Bastien <jfb@chromium.org> | 2015-12-22 13:56:21 -0800 |
commit | 5f7c296dbaba32bc4dad65cbee84ee95a01919bf (patch) | |
tree | 6c41341005deae297b04c438f6f4f3a90e0b1f61 /src | |
parent | e54299ed9f4f53b441689dbe96281947247ef138 (diff) | |
download | binaryen-5f7c296dbaba32bc4dad65cbee84ee95a01919bf.tar.gz binaryen-5f7c296dbaba32bc4dad65cbee84ee95a01919bf.tar.bz2 binaryen-5f7c296dbaba32bc4dad65cbee84ee95a01919bf.zip |
32-bits are enough since this is an asm.js pointer
Diffstat (limited to 'src')
-rw-r--r-- | src/asm2wasm.h | 2 |
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; |