From 1a095191b22e0aa62fb1671e4bab9d3e50cf5c12 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Tue, 14 May 2013 16:43:02 +0000 Subject: [PATCH] Compiler warning/error fix for r9120 git-svn-id: http://skia.googlecode.com/svn/trunk@9121 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/thinrects.cpp | 6 +++--- 1 file 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); } }