From c6ad06acefa096716f8dabed5342f9b89dc43dfe Mon Sep 17 00:00:00 2001 From: mtklein Date: Wed, 19 Aug 2015 09:51:00 -0700 Subject: unsigned -> int for counts and indices in picture-related code also, (C) BUG=skia: Review URL: https://codereview.chromium.org/1300163002 --- tests/RecordTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/RecordTest.cpp') diff --git a/tests/RecordTest.cpp b/tests/RecordTest.cpp index 49efc28d2c..b510da7673 100644 --- a/tests/RecordTest.cpp +++ b/tests/RecordTest.cpp @@ -27,7 +27,7 @@ public: int area() const { return fArea; } void apply(const SkRecord& record) { - for (unsigned i = 0; i < record.count(); i++) { + for (int i = 0; i < record.count(); i++) { record.visit(i, *this); } } @@ -45,7 +45,7 @@ struct Stretch { } void apply(SkRecord* record) { - for (unsigned i = 0; i < record->count(); i++) { + for (int i = 0; i < record->count(); i++) { record->mutate(i, *this); } } -- cgit v1.2.3