aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SamplePatch.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-27 13:42:58 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-27 13:42:58 +0000
commit7fa2a65c0cfc714364490cb715171461143024e0 (patch)
treeb7e40b0ca71a7ac8d957d150f038603cde2dcd3c /samplecode/SamplePatch.cpp
parent1a5e51f94ed8cb01600184119e52bb64bdb3dccc (diff)
fix more 64bit warnings
BUG=skia: Review URL: https://codereview.chromium.org/147683003 git-svn-id: http://skia.googlecode.com/svn/trunk@13190 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SamplePatch.cpp')
-rw-r--r--samplecode/SamplePatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SamplePatch.cpp b/samplecode/SamplePatch.cpp
index c630e8956a..5f39eda37a 100644
--- a/samplecode/SamplePatch.cpp
+++ b/samplecode/SamplePatch.cpp
@@ -314,7 +314,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 PtClick(this, i);
+ return new PtClick(this, (int)i);
}
}
return this->INHERITED::onFindClickHandler(x, y, modi);