Index: src/mips/simulator-mips.cc |
diff --git a/src/mips/simulator-mips.cc b/src/mips/simulator-mips.cc |
index 0c91cb5512c94bce4adf210768a676cac5cc275b..e37b6e12f9309a296556327074a303339d62a649 100644 |
--- a/src/mips/simulator-mips.cc |
+++ b/src/mips/simulator-mips.cc |
@@ -4483,7 +4483,7 @@ void Simulator::CallInternal(byte* entry) { |
// Set up the callee-saved registers with a known value. To be able to check |
// that they are preserved properly across JS execution. |
- int32_t callee_saved_value = icount_; |
+ int32_t callee_saved_value = static_cast<int32_t>(icount_); |
set_register(s0, callee_saved_value); |
set_register(s1, callee_saved_value); |
set_register(s2, callee_saved_value); |