Index: test/cctest/compiler/test-linkage.cc |
diff --git a/test/cctest/compiler/test-linkage.cc b/test/cctest/compiler/test-linkage.cc |
index 0d5ee8f754e33e902f10ccf0fde9de95ece53bf3..2f454eaedb5d18637c3bf49efb087a8a05964884 100644 |
--- a/test/cctest/compiler/test-linkage.cc |
+++ b/test/cctest/compiler/test-linkage.cc |
@@ -65,8 +65,8 @@ TEST(TestLinkageJSFunctionIncoming) { |
CallDescriptor* descriptor = linkage.GetIncomingDescriptor(); |
CHECK_NE(NULL, descriptor); |
- CHECK_EQ(1 + i, descriptor->JSParameterCount()); |
- CHECK_EQ(1, descriptor->ReturnCount()); |
+ CHECK_EQ(1 + i, static_cast<int>(descriptor->JSParameterCount())); |
+ CHECK_EQ(1, static_cast<int>(descriptor->ReturnCount())); |
CHECK_EQ(Operator::kNoProperties, descriptor->properties()); |
CHECK_EQ(true, descriptor->IsJSFunctionCall()); |
} |
@@ -93,8 +93,8 @@ TEST(TestLinkageJSCall) { |
CallDescriptor* descriptor = |
linkage.GetJSCallDescriptor(i, CallDescriptor::kNoFlags); |
CHECK_NE(NULL, descriptor); |
- CHECK_EQ(i, descriptor->JSParameterCount()); |
- CHECK_EQ(1, descriptor->ReturnCount()); |
+ CHECK_EQ(i, static_cast<int>(descriptor->JSParameterCount())); |
+ CHECK_EQ(1, static_cast<int>(descriptor->ReturnCount())); |
CHECK_EQ(Operator::kNoProperties, descriptor->properties()); |
CHECK_EQ(true, descriptor->IsJSFunctionCall()); |
} |