diff options
author | 2015-04-12 08:05:15 +0200 | |
---|---|---|
committer | 2015-04-12 08:05:43 +0200 | |
commit | 7faba31b1b8dcd6caa5f1b651d2693106de08d35 (patch) | |
tree | c528d5479eee247ee5305df53a298a09b594fccc /src/emu/cpu/x86log.c | |
parent | 15a464dac99052edc0645374a77ecef8d1a65b0d (diff) |
There is no implicit conversion to char* in std::string (nw)
Diffstat (limited to 'src/emu/cpu/x86log.c')
-rw-r--r-- | src/emu/cpu/x86log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/x86log.c b/src/emu/cpu/x86log.c index 07527d35c32..95013f1d579 100644 --- a/src/emu/cpu/x86log.c +++ b/src/emu/cpu/x86log.c @@ -269,7 +269,7 @@ void x86log_printf(x86log_context *log, const char *format, ...) /* open the file, creating it if necessary */ if (log->file == NULL) - log->file = fopen(log->filename, "w"); + log->file = fopen(log->filename.c_str(), "w"); if (log->file == NULL) return; |