Index: src/a64/macro-assembler-a64.cc |
diff --git a/src/a64/macro-assembler-a64.cc b/src/a64/macro-assembler-a64.cc |
index e6fef6dc6f37bf185ba5c5219ace9a8f02cca72a..14fb2fda63248808d25cdaa947fc4f61a2c6d9b3 100644 |
--- a/src/a64/macro-assembler-a64.cc |
+++ b/src/a64/macro-assembler-a64.cc |
@@ -598,7 +598,8 @@ void MacroAssembler::EmitVeneers(bool need_protection) { |
branch->SetImmPCOffsetTarget(veneer); |
b(label); |
#ifdef DEBUG |
- ASSERT(SizeOfCodeGeneratedSince(&size_check) <= kMaxVeneerCodeSize); |
+ ASSERT(SizeOfCodeGeneratedSince(&size_check) <= |
+ static_cast<uint64_t>(kMaxVeneerCodeSize)); |
size_check.Unuse(); |
#endif |