aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/mt32/synth.h
diff options
context:
space:
mode:
authorMax Horn2004-11-15 23:33:06 +0000
committerMax Horn2004-11-15 23:33:06 +0000
commit525df7cff072bec7c3d0af96513a6d0d3010f7d0 (patch)
tree66314348c0c45c7f1e837fecbf25f018516e82ea /backends/midi/mt32/synth.h
parent503da271884f77b3a0f77e1cd54223c0397d8f07 (diff)
downloadscummvm-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/synth.h')
-rw-r--r--backends/midi/mt32/synth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/mt32/synth.h b/backends/midi/mt32/synth.h
index 3609592a2f..dbd77c1dfd 100644
--- a/backends/midi/mt32/synth.h
+++ b/backends/midi/mt32/synth.h
@@ -84,7 +84,7 @@ struct SynthProperties {
// This is used as the first argument to all callbacks
void *userData;
// Callback for reporting various errors and information. May be NULL
- void (*report)(void *userData, ReportType type, void *reportData);
+ void (*report)(void *userData, ReportType type, const void *reportData);
// Callback for debug messages, in vprintf() format
void (*printDebug)(void *userData, const char *fmt, va_list list);
// Callback for providing an implementation of File, opened and ready for use
@@ -163,7 +163,7 @@ private:
int dumpSysex(char *filename);
protected:
- void report(ReportType type, void *reportData);
+ void report(ReportType type, const void *reportData);
File *openFile(const char *filename, File::OpenMode mode);
void closeFile(File *file);
void printDebug(const char *fmt, ...);