Adding int cast to prevent warning

BUG=skia:
R=fmalita@google.com, fmalita@chromium.org, bsalomon@google.com, bsalomon@chromium.org

Author: sugoi@chromium.org

Review URL: https://codereview.chromium.org/149463009

git-svn-id: http://skia.googlecode.com/svn/trunk@13285 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2014-02-03 19:40:32 +00:00
parent da5c6d64b0
commit 8c6f4b3261

View File

@ -94,7 +94,7 @@ protected:
}
virtual void onDrawContent(SkCanvas* canvas) SK_OVERRIDE {
SkASSERT(fBBox < kBBoxTypeCount);
SkASSERT(static_cast<int>(fBBox) < kBBoxTypeCount);
SkPicture** picture = fPictures + fBBox;
if (!*picture) {