Compiler warning/error fix for r9120
git-svn-id: http://skia.googlecode.com/svn/trunk@9121 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/thinrects.cpp b/gm/thinrects.cpp
index da4ea4b..6ee9a75 100644
--- a/gm/thinrects.cpp
+++ b/gm/thinrects.cpp
@@ -75,7 +75,7 @@
{ 29, 1, 29.0f, 21 } // 0 pix wide
};
- for (int j = 0; j < SK_ARRAY_COUNT(vertRects); ++j) {
+ for (size_t j = 0; j < SK_ARRAY_COUNT(vertRects); ++j) {
canvas->drawRect(vertRects[j], p);
}
}
@@ -91,7 +91,7 @@
{ 1, 29, 21, 29.0f } // 0 pix high
};
- for (int j = 0; j < SK_ARRAY_COUNT(horizRects); ++j) {
+ for (size_t j = 0; j < SK_ARRAY_COUNT(horizRects); ++j) {
canvas->drawRect(horizRects[j], p);
}
}
@@ -107,7 +107,7 @@
{ 29, 29, 29.0f, 29.0f } // 0 pix
};
- for (int j = 0; j < SK_ARRAY_COUNT(squares); ++j) {
+ for (size_t j = 0; j < SK_ARRAY_COUNT(squares); ++j) {
canvas->drawRect(squares[j], p);
}
}