aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/emptypath.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-10 14:03:33 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-10 14:03:33 +0000
commitf12449b5d2867ca653aa53ac58fc1148e7f0b636 (patch)
treebc731fbb7316cdd2e2941e0f917943d2f047c229 /gm/emptypath.cpp
parent0f1541f1c3c7393052dd54dfc32d0d32918a90ae (diff)
Fixed signed/unsigned comparison warnings in empty path gm/sample
git-svn-id: http://skia.googlecode.com/svn/trunk@2439 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/emptypath.cpp')
-rw-r--r--gm/emptypath.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/emptypath.cpp b/gm/emptypath.cpp
index dd33f68742..ee9dd0c027 100644
--- a/gm/emptypath.cpp
+++ b/gm/emptypath.cpp
@@ -83,8 +83,8 @@ protected:
canvas->save();
canvas->translate(10 * SK_Scalar1, 0);
canvas->save();
- for (int style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) {
- for (int fill = 0; fill < SK_ARRAY_COUNT(gFills); ++fill) {
+ for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) {
+ for (size_t fill = 0; fill < SK_ARRAY_COUNT(gFills); ++fill) {
if (0 == i % 4) {
canvas->restore();
canvas->translate(0, rect.height() + 40 * SK_Scalar1);