Index: test/cctest/test-code-stubs-arm64.cc |
diff --git a/test/cctest/test-code-stubs-arm64.cc b/test/cctest/test-code-stubs-arm64.cc |
index 6d5b0f49be786a3d50003f01dc5ad00fb74b897a..8b38b9660099a6b9e8059c6fbaecd69437353013 100644 |
--- a/test/cctest/test-code-stubs-arm64.cc |
+++ b/test/cctest/test-code-stubs-arm64.cc |
@@ -142,8 +142,8 @@ int32_t RunGeneratedCodeCallWrapper(ConvertDToIFunc func, |
Simulator::CallArgument(from), |
Simulator::CallArgument::End() |
}; |
- return Simulator::current(Isolate::Current())->CallInt64( |
- FUNCTION_ADDR(func), args); |
+ return static_cast<int32_t>(Simulator::current(Isolate::Current()) |
+ ->CallInt64(FUNCTION_ADDR(func), args)); |
#else |
return (*func)(from); |
#endif |