Index: test/cctest/compiler/test-graph-reducer.cc |
diff --git a/test/cctest/compiler/test-graph-reducer.cc b/test/cctest/compiler/test-graph-reducer.cc |
index dfbb6f298e061463498373cf350fb9de5d5d63ce..97aebafcf1a44f3c0878bcbfc28d84dc4346140b 100644 |
--- a/test/cctest/compiler/test-graph-reducer.cc |
+++ b/test/cctest/compiler/test-graph-reducer.cc |
@@ -188,7 +188,9 @@ class ReducerRecorder : public Reducer { |
set.insert(node); |
return NoChange(); |
} |
- void CheckContains(Node* node) { CHECK_EQ(1, set.count(node)); } |
+ void CheckContains(Node* node) { |
+ CHECK_EQ(1, static_cast<int>(set.count(node))); |
+ } |
NodeSet set; |
}; |
@@ -628,7 +630,7 @@ class OneTimeReducer : public Reducer { |
: reducer_(reducer), |
nodes_(NodeSet::key_compare(), NodeSet::allocator_type(zone)) {} |
virtual Reduction Reduce(Node* node) { |
- CHECK_EQ(0, nodes_.count(node)); |
+ CHECK_EQ(0, static_cast<int>(nodes_.count(node))); |
nodes_.insert(node); |
return reducer_->Reduce(node); |
} |