Index: samples/pdfium_test.cc |
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc |
index 3bdd4eeddcd5296fcc9459e607a11e4db86bb6ee..51199ea5a0ee251539cac32337398183bbc0e5b2 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: |