diff options
| author | Timothy Collett | 2012-05-24 11:31:20 -0400 |
|---|---|---|
| committer | Timothy Collett | 2012-05-24 11:31:20 -0400 |
| commit | 24d221052b2e5cce5eadf3a7183cc808dbb21236 (patch) | |
| tree | 8eca2859eecaa99365df6d87e973f7cde9505404 /plugins/dwarfexport | |
| parent | 20794ebf191d21d5acce274d70bdad4012deaa44 (diff) | |
| download | dfhack-24d221052b2e5cce5eadf3a7183cc808dbb21236.tar.gz dfhack-24d221052b2e5cce5eadf3a7183cc808dbb21236.tar.bz2 dfhack-24d221052b2e5cce5eadf3a7183cc808dbb21236.tar.xz | |
Initial changes to get dfhack building on the Mac
Diffstat (limited to 'plugins/dwarfexport')
| -rw-r--r-- | plugins/dwarfexport/dwarfexport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dwarfexport/dwarfexport.cpp b/plugins/dwarfexport/dwarfexport.cpp index 5db1bf22..cb6e9f19 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; |
