Fix compile on mac: format string mismatch error.
authorTom Sepez <tsepez@chromium.org>
Tue, 26 Aug 2014 21:03:25 +0000 (14:03 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 26 Aug 2014 21:03:25 +0000 (14:03 -0700)
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

samples/pdfium_test.cc

index 7436e9d..0f0c875 100644 (file)
@@ -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[]) {