Index: test/cctest/test-macro-assembler-x64.cc |
diff --git a/test/cctest/test-macro-assembler-x64.cc b/test/cctest/test-macro-assembler-x64.cc |
index 071e67a5a10098c12cfdfeda0c9a1a291a0c05b8..27a394642ae49ae21712acccecf0b2ca0f4915ee 100755 |
--- a/test/cctest/test-macro-assembler-x64.cc |
+++ b/test/cctest/test-macro-assembler-x64.cc |
@@ -109,7 +109,7 @@ TEST(Smi) { |
CHECK_EQ(smi_from_int, smi_from_intptr); |
} |
int smi_value = smi_from_intptr->value(); |
- CHECK_EQ(number, smi_value); |
+ CHECK_EQ(number, static_cast<intptr_t>(smi_value)); |
} |
} |
} |