diff options
| author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-10 14:03:33 +0000 |
|---|---|---|
| committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-10 14:03:33 +0000 |
| commit | f12449b5d2867ca653aa53ac58fc1148e7f0b636 (patch) | |
| tree | bc731fbb7316cdd2e2941e0f917943d2f047c229 /samplecode/SampleEmptyPath.cpp | |
| parent | 0f1541f1c3c7393052dd54dfc32d0d32918a90ae (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 'samplecode/SampleEmptyPath.cpp')
| -rw-r--r-- | samplecode/SampleEmptyPath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleEmptyPath.cpp b/samplecode/SampleEmptyPath.cpp index 5c865c66fd..cffe6cf0ca 100644 --- a/samplecode/SampleEmptyPath.cpp +++ b/samplecode/SampleEmptyPath.cpp @@ -79,8 +79,8 @@ protected: canvas->save(); canvas->translate(80 * 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() + 50 * SK_Scalar1); |
