Compiler warning/error fix for r9120

git-svn-id: http://skia.googlecode.com/svn/trunk@9121 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-05-14 16:43:02 +00:00
parent dd3f365482
commit 1a095191b2

View File

@ -75,7 +75,7 @@ private:
{ 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 @@ private:
{ 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 @@ private:
{ 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);
}
}