diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc index 614f67b0aa..3fcfccec07 100644 --- a/src/x64/macro-assembler-x64.cc +++ b/src/x64/macro-assembler-x64.cc @@ -699,7 +699,7 @@ void MacroAssembler::SmiTryAddConstant(Register dst, Smi* constant, Label* on_not_smi_result) { // Does not assume that src is a smi. - ASSERT_EQ(static_cast(1), kSmiTagMask); + ASSERT_EQ(static_cast(1), static_cast(kSmiTagMask)); ASSERT_EQ(0, kSmiTag); ASSERT(!dst.is(kScratchRegister)); ASSERT(!src.is(kScratchRegister));