Index: test/cctest/heap/test-spaces.cc |
diff --git a/test/cctest/heap/test-spaces.cc b/test/cctest/heap/test-spaces.cc |
index 7bc5a0643b6c3ff2c6363c2b7f7286676e6a3f60..cefdea76b35ae91ec3a2829477781774a00abcda 100644 |
--- a/test/cctest/heap/test-spaces.cc |
+++ b/test/cctest/heap/test-spaces.cc |
@@ -515,8 +515,7 @@ TEST(SizeOfInitialHeap) { |
page_count[i] = heap->paged_space(i)->CountTotalPages(); |
// Check that the initial heap is also below the limit. |
- CHECK_LT(static_cast<size_t>(heap->paged_space(i)->CommittedMemory()), |
- kMaxInitialSizePerSpace); |
+ CHECK_LT(heap->paged_space(i)->CommittedMemory(), kMaxInitialSizePerSpace); |
} |
// Executing the empty script gets by with the same number of pages, i.e., |