Index: test/unittests/compiler/control-equivalence-unittest.cc |
diff --git a/test/unittests/compiler/control-equivalence-unittest.cc b/test/unittests/compiler/control-equivalence-unittest.cc |
index f420883c275f1e23abc635162c82533f6b3ce5ff..47be5407f720cd0d209973dc6239d3c6c639b22e 100644 |
--- a/test/unittests/compiler/control-equivalence-unittest.cc |
+++ b/test/unittests/compiler/control-equivalence-unittest.cc |
@@ -41,7 +41,7 @@ class ControlEquivalenceTest : public GraphTest { |
} |
bool IsEquivalenceClass(size_t length, Node** nodes) { |
- BitVector in_class(graph()->NodeCount(), zone()); |
+ BitVector in_class(static_cast<int>(graph()->NodeCount()), zone()); |
size_t expected_class = classes_[nodes[0]->id()]; |
for (size_t i = 0; i < length; ++i) { |
in_class.Add(nodes[i]->id()); |