Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index eff83c039724d989e1d74d4500eaabb66e4d022d..b548161c7959fa8e3b45122b25a7059b0c90299f 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -5786,7 +5786,7 @@ TEST(NewSpaceAllocationCounter) { |
CHECK_EQ(kSize, counter2 - counter1); |
heap->CollectGarbage(NEW_SPACE); |
size_t counter3 = heap->NewSpaceAllocationCounter(); |
- CHECK_EQ(0, counter3 - counter2); |
+ CHECK_EQ(0U, counter3 - counter2); |
// Test counter overflow. |
size_t max_counter = -1; |
heap->set_new_space_allocation_counter(max_counter - 10 * kSize); |