Index: test/unittests/heap/slot-set-unittest.cc |
diff --git a/test/unittests/heap/slot-set-unittest.cc b/test/unittests/heap/slot-set-unittest.cc |
index 063b7ce2e76cb88a63996a06e440cc906120b39d..3b2fbe5ce61f0318d792210cb9bfbd4d6f4a1406 100644 |
--- a/test/unittests/heap/slot-set-unittest.cc |
+++ b/test/unittests/heap/slot-set-unittest.cc |
@@ -127,7 +127,7 @@ TEST(SlotSet, RemoveRange) { |
CheckRemoveRangeOn(start * kPointerSize, (start + 1) * kPointerSize); |
CheckRemoveRangeOn(start * kPointerSize, (start + 2) * kPointerSize); |
const uint32_t kEnds[] = {32, 64, 100, 128, 1024, 1500, 2048}; |
- for (int i = 0; i < sizeof(kEnds) / sizeof(uint32_t); i++) { |
+ for (size_t i = 0; i < sizeof(kEnds) / sizeof(uint32_t); i++) { |
for (int k = -3; k <= 3; k++) { |
uint32_t end = (kEnds[i] + k); |
if (start < end) { |