Index: test/cctest/compiler/test-instruction-selector.cc |
diff --git a/test/cctest/compiler/test-instruction-selector.cc b/test/cctest/compiler/test-instruction-selector.cc |
index a82ceb2be31393c30db86905c38cf81d41cd355d..20ca5a5ea3e215dbc4711b6ddc17fd5883737fe8 100644 |
--- a/test/cctest/compiler/test-instruction-selector.cc |
+++ b/test/cctest/compiler/test-instruction-selector.cc |
@@ -11,8 +11,8 @@ TEST(InstructionSelectionReturnZero) { |
InstructionSelectorTester m(InstructionSelectorTester::kInternalMode); |
m.Return(m.Int32Constant(0)); |
m.SelectInstructions(); |
- CHECK_EQ(2, m.code.size()); |
+ CHECK_EQ(2, static_cast<int>(m.code.size())); |
CHECK_EQ(kArchNop, m.code[0]->opcode()); |
CHECK_EQ(kArchRet, m.code[1]->opcode()); |
- CHECK_EQ(1, m.code[1]->InputCount()); |
+ CHECK_EQ(1, static_cast<int>(m.code[1]->InputCount())); |
} |