From ddc206276c96406b47f9c8760e981500d7ad9063 Mon Sep 17 00:00:00 2001 From: Bruce Dawson Date: Tue, 18 Nov 2014 13:42:28 -0800 Subject: Merge to XFA: patch from CL 738433003 Review URL: https://codereview.chromium.org/738433003 R=tsepez@chromium.org TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/741473003 --- samples/pdfium_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'samples/pdfium_test.cc') diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc index f50d4d16a2..3c0cef4dbf 100644 --- a/samples/pdfium_test.cc +++ b/samples/pdfium_test.cc @@ -16,6 +16,7 @@ #include "../fpdfsdk/include/fpdfformfill.h" #include "../fpdfsdk/include/fpdftext.h" #include "../fpdfsdk/include/fpdfview.h" +#include "../core/include/fxcrt/fx_system.h" #include "v8/include/v8.h" #ifdef _WIN32 @@ -360,8 +361,8 @@ void RenderPdf(const char* name, const char* pBuf, size_t len, FPDFDOC_ExitFormFillEnvironment(form); FPDFAvail_Destroy(pdf_avail); - printf("Loaded, parsed and rendered %zu pages.\n", rendered_pages); - printf("Skipped %zu bad pages.\n", bad_pages); + printf("Loaded, parsed and rendered %" PRIuS " pages.\n", rendered_pages); + printf("Skipped %" PRIuS " bad pages.\n", bad_pages); } int main(int argc, const char* argv[]) { -- cgit v1.2.3