Index: test/cctest/test-code-stubs-mips64.cc |
diff --git a/test/cctest/test-code-stubs-mips64.cc b/test/cctest/test-code-stubs-mips64.cc |
index 1f7df380e168b916d2c4f1decba828465861cd1f..9f146f65fd9698e643190fa4fbb9a6caa95bd842 100644 |
--- a/test/cctest/test-code-stubs-mips64.cc |
+++ b/test/cctest/test-code-stubs-mips64.cc |
@@ -144,7 +144,8 @@ int32_t RunGeneratedCodeCallWrapper(ConvertDToIFunc func, |
double from) { |
#ifdef USE_SIMULATOR |
Simulator::current(Isolate::Current())->CallFP(FUNCTION_ADDR(func), from, 0.); |
- return Simulator::current(Isolate::Current())->get_register(v0.code()); |
+ return static_cast<int32_t>( |
+ Simulator::current(Isolate::Current())->get_register(v0.code())); |
#else |
return (*func)(from); |
#endif |