Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index fe24c45749ee69f30db75fe7eeffcaf3d974989e..8506728d69ce5da8d71bedf0fd497ee57151fd1e 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -5442,7 +5442,7 @@ static const int kCallApiFunctionSpillSpace = 4; |
static int AddressOffset(ExternalReference ref0, ExternalReference ref1) { |
- return ref0.address() - ref1.address(); |
+ return static_cast<int>(ref0.address() - ref1.address()); |
} |