diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-04 16:03:51 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-04 16:03:51 +0000 |
commit | 6fcd28ba1de83b72f4c8343ccec27d26c127de32 (patch) | |
tree | 79a6c40b3ca386d33cd50e3b2fdcd467f7f5d99a /include | |
parent | 28183b4043a969df12592e8dd47cf95b80755284 (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.h | 2 |
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; |