diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-14 16:43:02 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-14 16:43:02 +0000 |
commit | 1a095191b22e0aa62fb1671e4bab9d3e50cf5c12 (patch) | |
tree | 18cf25169fad19e7de6b0e49413085a87b10be87 /gm/thinrects.cpp | |
parent | dd3f36548240c255206135ab3ab86c0ee381c09d (diff) |
Compiler warning/error fix for r9120
git-svn-id: http://skia.googlecode.com/svn/trunk@9121 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/thinrects.cpp')
-rw-r--r-- | gm/thinrects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/thinrects.cpp b/gm/thinrects.cpp index da4ea4baed..6ee9a759e6 100644 --- a/gm/thinrects.cpp +++ b/gm/thinrects.cpp @@ -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); } } |