Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: samples/pdfium_test.cc

Issue 506053003: Fix compile on mac: format string mismatch error. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/pdfium_test.cc
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 7436e9d86cccbd00e834b2b9f79deae908da832a..0f0c875f3d95ffb8309e6dac175d06d2b8884d0a 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[]) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698