From 9fb96a9256348c3b00b045614ddf9f8d96e833cf Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sat, 6 Jul 2013 04:05:22 +0100 Subject: AUDIO: Further fix to ReportHandlerScummVM::printDebug in MT32 code. --- audio/softsynth/mt32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/softsynth') diff --git a/audio/softsynth/mt32.cpp b/audio/softsynth/mt32.cpp index 3281e3bebf..29f5e3577c 100644 --- a/audio/softsynth/mt32.cpp +++ b/audio/softsynth/mt32.cpp @@ -63,7 +63,7 @@ protected: // Callback for debug messages, in vprintf() format void printDebug(const char *fmt, va_list list) { Common::String out = Common::String::vformat(fmt, list); - debug(4, out.c_str()); + debug(4, "%s", out.c_str()); } // Callbacks for reporting various errors and information -- cgit v1.2.3