aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-03 19:40:32 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-03 19:40:32 +0000
commit8c6f4b3261fde699f17016e289aa6aceee4ea63a (patch)
tree827d5fe905d798b734fd4994cbe1fb41a1a51de2
parentda5c6d64b05813660fa578cb5f8ef0dd146726f4 (diff)
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
-rw-r--r--samplecode/SamplePictFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp
index 5cd16bddc1..ea15524476 100644
--- a/samplecode/SamplePictFile.cpp
+++ b/samplecode/SamplePictFile.cpp
@@ -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) {