Index: tests/ImageCacheTest.cpp |
diff --git a/tests/ImageCacheTest.cpp b/tests/ImageCacheTest.cpp |
index eaf3f2811fdf7ee56cc9e9ade2f243826c6c6761..c34f9d97e98bead7d9b1904f2515f8426f61cd0b 100644 |
--- a/tests/ImageCacheTest.cpp |
+++ b/tests/ImageCacheTest.cpp |
@@ -56,7 +56,7 @@ static void test_cache(skiatest::Reporter* reporter, SkResourceCache& cache, boo |
if (testPurge) { |
// stress test, should trigger purges |
- for (size_t i = 0; i < COUNT * 100; ++i) { |
+ for (int i = 0; i < COUNT * 100; ++i) { |
TestingKey key(i); |
cache.add(SkNEW_ARGS(TestingRec, (key, i))); |
} |