Index: samples/pdfium_test.cc |
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc |
index 61732d52b21f730d92584afffdb54f27d318acff..db09a1b9636eff2890541e60bf99e93a4c6e6640 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: |