aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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) {