aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp')
-rw-r--r--experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp b/experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp
index 1682fb92b2..d9b3c01201 100644
--- a/experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp
+++ b/experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp
@@ -91,7 +91,7 @@ bool SkPdfNativeObject::filterStream() {
applyFilter(filterName.c_str());
} else if (stream->isFilterAArray(NULL)) {
const SkPdfArray* filters = stream->getFilterAsArray(NULL);
- int cnt = filters->size();
+ int cnt = (int) filters->size();
for (int i = cnt - 1; i >= 0; i--) {
const SkPdfNativeObject* filterName = filters->objAtAIndex(i);
if (filterName != NULL && filterName->isName()) {