aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-04 16:03:51 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-04 16:03:51 +0000
commit6fcd28ba1de83b72f4c8343ccec27d26c127de32 (patch)
tree79a6c40b3ca386d33cd50e3b2fdcd467f7f5d99a /include
parent28183b4043a969df12592e8dd47cf95b80755284 (diff)
fix samplefuzz, fix some 32/64bit warnings
git-svn-id: http://skia.googlecode.com/svn/trunk@13303 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkTDArray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkTDArray.h b/include/core/SkTDArray.h
index c5e7a02f28..14447217e9 100644
--- a/include/core/SkTDArray.h
+++ b/include/core/SkTDArray.h
@@ -239,7 +239,7 @@ public:
while (iter > stop) {
if (*--iter == elem) {
- return iter - stop;
+ return SkToInt(iter - stop);
}
}
return -1;