Index: test/mjsunit/asm/int32mod.js |
diff --git a/test/mjsunit/asm/int32mod.js b/test/mjsunit/asm/int32mod.js |
index 22fa81384d49af081f32a3a78b51cebf26d4dee8..44513e3292340cdf4603c472c6719f332c9e5bbe 100644 |
--- a/test/mjsunit/asm/int32mod.js |
+++ b/test/mjsunit/asm/int32mod.js |
@@ -11,7 +11,7 @@ var mod = (function Module(stdlib, foreign, heap) { |
function mod(dividend, divisor) { |
dividend = dividend|0; |
divisor = divisor|0; |
- return (dividend % divisor) | 0; |
+ return ((dividend | 0) % (divisor | 0)) | 0; |
} |
return { mod: mod }; |
})(stdlib, foreign, heap).mod; |