summaryrefslogtreecommitdiff
path: root/samples/pdfium_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'samples/pdfium_test.cc')
-rw-r--r--samples/pdfium_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 61732d52b2..db09a1b963 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -455,7 +455,7 @@ void RenderPdf(const std::string& name, const char* pBuf, size_t len,
break;
case OUTPUT_EMF:
- WriteEmf(page.c_str(), name, i);
+ WriteEmf(page, name.c_str(), i);
break;
#endif
case OUTPUT_PPM: