Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index 566151b87771ecc63f38e52c4378b8af668e8279..22f63b7c7016c37714ec2ee1bd16f5b1705eaa11 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -212,7 +212,7 @@ static void test_crop_rects(SkBaseDevice* device, skiatest::Reporter* reporter) |
SkBitmap result; |
SkIPoint offset; |
SkString str; |
- str.printf("filter %zd", i); |
+ str.printf("filter %d", static_cast<int>(i)); |
REPORTER_ASSERT_MESSAGE(reporter, filter->filterImage(&proxy, bitmap, SkMatrix::I(), &result, &offset), str.c_str()); |
REPORTER_ASSERT_MESSAGE(reporter, offset.fX == 20 && offset.fY == 30, str.c_str()); |
} |