Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index 63ba58bcb18a3d4cb9d13dd3e728886321dddf2e..f86417469fcfc97739f746c256d04b2a67ffed64 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -223,7 +223,7 @@ void RelocInfo::apply(intptr_t delta) { |
} else if (rmode_ == CODE_AGE_SEQUENCE) { |
if (*pc_ == kCallOpcode) { |
int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); |
- *p -= delta; // Relocate entry. |
+ *p -= static_cast<int32_t>(delta); // Relocate entry. |
CPU::FlushICache(p, sizeof(uint32_t)); |
} |
} |