Index: tests/PathTest.cpp |
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp |
index d09f8a2b30354606b8875456506b3d7d8e31dee0..3daa7e28b4308566ac03f3d223a3c8ae81cdb81b 100644 |
--- a/tests/PathTest.cpp |
+++ b/tests/PathTest.cpp |
@@ -787,7 +787,7 @@ static void test_addPoly(skiatest::Reporter* reporter) { |
for (int doClose = 0; doClose <= 1; ++doClose) { |
for (size_t count = 1; count <= SK_ARRAY_COUNT(pts); ++count) { |
SkPath path; |
- path.addPoly(pts, count, SkToBool(doClose)); |
+ path.addPoly(pts, SkToInt(count), SkToBool(doClose)); |
test_poly(reporter, path, pts, SkToBool(doClose)); |
} |
} |
@@ -1706,7 +1706,7 @@ static void test_isRect(skiatest::Reporter* reporter) { |
struct IsRectTest { |
SkPoint *fPoints; |
- size_t fPointCount; |
+ int fPointCount; |
bool fClose; |
bool fIsRect; |
} tests[] = { |
@@ -1889,7 +1889,7 @@ static void test_isNestedRects(skiatest::Reporter* reporter) { |
struct IsNestedRectTest { |
SkPoint *fPoints; |
- size_t fPointCount; |
+ int fPointCount; |
SkPath::Direction fDirection; |
bool fClose; |
bool fIsNestedRect; // nests with path.addRect(-1, -1, 2, 2); |