summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-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 3bdd4eeddc..51199ea5a0 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -438,7 +438,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: