Index: test/cctest/heap/heap-utils.cc |
diff --git a/test/cctest/heap/heap-utils.cc b/test/cctest/heap/heap-utils.cc |
index c2067172aad98dbe0b668cbbc1f5d9f69dfe8d6c..c44f82f1d90713026b0f8da7b1a57e505c5b02e8 100644 |
--- a/test/cctest/heap/heap-utils.cc |
+++ b/test/cctest/heap/heap-utils.cc |
@@ -38,8 +38,7 @@ std::vector<Handle<FixedArray>> FillOldSpacePageWithFixedArrays(Heap* heap, |
const int kArrayLen = heap::FixedArrayLenFromSize(kArraySize); |
CHECK_EQ(Page::kAllocatableMemory % kArraySize, 0); |
Handle<FixedArray> array; |
- for (size_t allocated = 0; |
- allocated != (Page::kAllocatableMemory - remainder); |
+ for (int allocated = 0; allocated != (Page::kAllocatableMemory - remainder); |
allocated += array->Size()) { |
if (allocated == (Page::kAllocatableMemory - kArraySize)) { |
array = isolate->factory()->NewFixedArray( |