aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorOliver Kiehl2003-07-06 20:19:54 +0000
committerOliver Kiehl2003-07-06 20:19:54 +0000
commitc29d39fad7c1890f936365babbef4835f7407c5d (patch)
treee8e3d644b57928711e353ce47cc5db466f1b240e /backends
parent8c9b152f31388b5da1298c899b3d50ebac5e0376 (diff)
downloadscummvm-rg350-c29d39fad7c1890f936365babbef4835f7407c5d.tar.gz
scummvm-rg350-c29d39fad7c1890f936365babbef4835f7407c5d.tar.bz2
scummvm-rg350-c29d39fad7c1890f936365babbef4835f7407c5d.zip
fix compile
svn-id: r8814
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/alsa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp
index d3c3fb275c..6671bacdd6 100644
--- a/backends/midi/alsa.cpp
+++ b/backends/midi/alsa.cpp
@@ -67,7 +67,7 @@ private:
snd_seq_t *seq_handle;
int seq_client, seq_port;
int my_client, my_port;
- static int parse_addr(char *arg, int *client, int *port);
+ static int parse_addr(const char *arg, int *client, int *port);
};
MidiDriver_ALSA::MidiDriver_ALSA()
@@ -201,7 +201,7 @@ void MidiDriver_ALSA::sysEx(byte *msg, uint16 length) {
send_event(1);
}
-int MidiDriver_ALSA::parse_addr(char *arg, int *client, int *port) {
+int MidiDriver_ALSA::parse_addr(const char *arg, int *client, int *port) {
char *p;
if (isdigit(*arg)) {