Index: test/mjsunit/asm/int32modb.js |
diff --git a/test/mjsunit/asm/int32modb.js b/test/mjsunit/asm/int32modb.js |
index 5081b49ae5c83f8fd0db6bd05affd7b2b453e865..f8c034279be3de6ff35b8af3b3f50b0063c948f8 100644 |
--- a/test/mjsunit/asm/int32modb.js |
+++ b/test/mjsunit/asm/int32modb.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; |