Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 9c314aa59bdb06420acbcb0250d0a09cf8c267c8..3768244e4d570f9c9fe69cb7c472d3f26c366581 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -701,7 +701,7 @@ void MacroAssembler::SmiTryAddConstant(Register dst, |
Smi* constant, |
Label* on_not_smi_result) { |
// Does not assume that src is a smi. |
- ASSERT_EQ(1, kSmiTagMask); |
+ ASSERT_EQ(static_cast<intptr_t>(1), kSmiTagMask); |
ASSERT_EQ(0, kSmiTag); |
ASSERT(!dst.is(kScratchRegister)); |
ASSERT(!src.is(kScratchRegister)); |