Merge: Fix obvious compilation breakage on win32 in previous version.
[pdfium.git] / samples / pdfium_test.cc
index 3bdd4ee..51199ea 100644 (file)
@@ -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: