diff options
author | Max Horn | 2004-11-15 23:33:06 +0000 |
---|---|---|
committer | Max Horn | 2004-11-15 23:33:06 +0000 |
commit | 525df7cff072bec7c3d0af96513a6d0d3010f7d0 (patch) | |
tree | 66314348c0c45c7f1e837fecbf25f018516e82ea /backends/midi/mt32.cpp | |
parent | 503da271884f77b3a0f77e1cd54223c0397d8f07 (diff) | |
download | scummvm-rg350-525df7cff072bec7c3d0af96513a6d0d3010f7d0.tar.gz scummvm-rg350-525df7cff072bec7c3d0af96513a6d0d3010f7d0.tar.bz2 scummvm-rg350-525df7cff072bec7c3d0af96513a6d0d3010f7d0.zip |
const const const
svn-id: r15825
Diffstat (limited to 'backends/midi/mt32.cpp')
-rw-r--r-- | backends/midi/mt32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/mt32.cpp b/backends/midi/mt32.cpp index a202ed7bec..73775639f1 100644 --- a/backends/midi/mt32.cpp +++ b/backends/midi/mt32.cpp @@ -122,10 +122,10 @@ static void MT32_PrintDebug(void *userData, const char *fmt, va_list list) { //vdebug(0, fmt, list); // FIXME: Use a higher debug level } -static void MT32_Report(void *userData, MT32Emu::ReportType type, void *reportData) { +static void MT32_Report(void *userData, MT32Emu::ReportType type, const void *reportData) { switch(type) { case MT32Emu::ReportType_lcdMessage: - g_system->displayMessageOnOSD((char *)reportData); + g_system->displayMessageOnOSD((const char *)reportData); break; case MT32Emu::ReportType_errorPreset1: error("Couldn't open Preset1.syx file"); |