Index: samplecode/SampleComplexClip.cpp |
diff --git a/samplecode/SampleComplexClip.cpp b/samplecode/SampleComplexClip.cpp |
index 30f94f7b48a9b328f91f9d817fd76d4268228b39..0d613ec161637e1f19e26ed081f791ed97db1bff 100644 |
--- a/samplecode/SampleComplexClip.cpp |
+++ b/samplecode/SampleComplexClip.cpp |
@@ -96,7 +96,7 @@ protected: |
for (int invA = 0; invA < 2; ++invA) { |
for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { |
- int idx = invA * SK_ARRAY_COUNT(gOps) + op; |
+ size_t idx = invA * SK_ARRAY_COUNT(gOps) + op; |
if (!(idx % 3)) { |
canvas->restore(); |
canvas->translate(0, SkIntToScalar(250)); |