diff options
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; |