Index: samplecode/SampleRotateCircles.cpp |
diff --git a/samplecode/SampleRotateCircles.cpp b/samplecode/SampleRotateCircles.cpp |
index 1f586be4fecaf20932a8ea4a3574dd127a379482..537f42485b1618b524aa0313eaaa877dd863a3c4 100644 |
--- a/samplecode/SampleRotateCircles.cpp |
+++ b/samplecode/SampleRotateCircles.cpp |
@@ -333,7 +333,7 @@ protected: |
unsigned modi) SK_OVERRIDE { |
for (size_t i = 0; i < SK_ARRAY_COUNT(fPts); ++i) { |
if (hittest(fPts[i], x, y)) { |
- return new MyClick(this, i); |
+ return new MyClick(this, (int)i); |
} |
} |
return this->INHERITED::onFindClickHandler(x, y, modi); |