Index: test/mjsunit/asm/int8array-negative-offset.js |
diff --git a/test/mjsunit/asm/int8array-negative-offset.js b/test/mjsunit/asm/int8array-negative-offset.js |
index 47dbc1bfeadf45455e0c2b45ad42820513c5b179..a2088e1b129b8efc5e79ed2c218cf3dbdb7a1372 100644 |
--- a/test/mjsunit/asm/int8array-negative-offset.js |
+++ b/test/mjsunit/asm/int8array-negative-offset.js |
@@ -13,7 +13,7 @@ var m = (function Module(stdlib, foreign, heap) { |
function load(i) { |
i = i|0; |
i = MEM8[i >> 0]|0; |
- return i; |
+ return i | 0; |
} |
function store(i, v) { |
i = i|0; |
@@ -23,7 +23,7 @@ var m = (function Module(stdlib, foreign, heap) { |
function load8(i) { |
i = i|0; |
i = MEM8[i + 8 >> 0]|0; |
- return i; |
+ return i | 0; |
} |
function store8(i, v) { |
i = i|0; |