summaryrefslogtreecommitdiff
path: root/plugins/dwarfexport
diff options
context:
space:
mode:
authorPetr Mrázek2012-06-14 00:00:36 +0200
committerPetr Mrázek2012-06-14 00:00:36 +0200
commit52f9fe4a6a4dd788d902cad1a594ed5d8febcfd3 (patch)
tree683a0967e675423b0a747880d25a8f932d5ab914 /plugins/dwarfexport
parent5e011ac217ae2e0804fdab77a12cdcd94208bc62 (diff)
parent6d65683b02a7a78463d0b25e6cd56a7ae35d34cd (diff)
downloaddfhack-52f9fe4a6a4dd788d902cad1a594ed5d8febcfd3.tar.gz
dfhack-52f9fe4a6a4dd788d902cad1a594ed5d8febcfd3.tar.bz2
dfhack-52f9fe4a6a4dd788d902cad1a594ed5d8febcfd3.tar.xz
Merge https://github.com/danaris/dfhack
Conflicts: depends/clsocket
Diffstat (limited to 'plugins/dwarfexport')
-rw-r--r--plugins/dwarfexport/dwarfexport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dwarfexport/dwarfexport.cpp b/plugins/dwarfexport/dwarfexport.cpp
index 64fbcd65..4a78332c 100644
--- a/plugins/dwarfexport/dwarfexport.cpp
+++ b/plugins/dwarfexport/dwarfexport.cpp
@@ -213,7 +213,7 @@ command_result export_dwarves (color_ostream &con, std::vector <std::string> & p
return CR_OK;
}
- ofstream outf(filename);
+ ofstream outf(filename.c_str());
if (!outf) {
con.printerr("Failed to open file %s\n", filename.c_str());
return CR_FAILURE;