summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2014-08-26 14:03:25 -0700
committerTom Sepez <tsepez@chromium.org>2014-08-26 14:03:25 -0700
commit02e6ca4c4fc94f72fa7aac326234dfd8a9f61d23 (patch)
treee5c4407c6bd63f9f36d97d508880a9e4493174d1
parent1b04ea3b0fbae3be3ae6b3824c5e0dadc0e73d44 (diff)
downloadpdfium-02e6ca4c4fc94f72fa7aac326234dfd8a9f61d23.tar.xz
Fix compile on mac: format string mismatch error.chromium/2139chromium/2138
See http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/9542/steps/compile%20%28with%20patch%29/logs/stdio TBR=jun_fang@foxitsoftware.com, Review URL: https://codereview.chromium.org/506053003
-rw-r--r--samples/pdfium_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 7436e9d86c..0f0c875f3d 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -359,8 +359,8 @@ void RenderPdf(const char* name, const char* pBuf, size_t len,
FPDF_CloseDocument(doc);
FPDFAvail_Destroy(pdf_avail);
- printf("Loaded, parsed and rendered %d pages.\n", rendered_pages);
- printf("Skipped %d bad pages.\n", bad_pages);
+ printf("Loaded, parsed and rendered %zu pages.\n", rendered_pages);
+ printf("Skipped %zu bad pages.\n", bad_pages);
}
int main(int argc, const char* argv[]) {