Index: samplecode/SamplePictFile.cpp |
diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp |
index 5cd16bddc1bdd6d3e9c16cf3e33749ea3a356825..ea155244764758a0619c99bcef39327a3cf1201d 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) { |