diff options
author | Bertrand Augereau | 2009-09-06 10:51:20 +0000 |
---|---|---|
committer | Bertrand Augereau | 2009-09-06 10:51:20 +0000 |
commit | d454c9b3793fdda9551d7833da08ab503fc10689 (patch) | |
tree | 45507a478b81b181dd90513819ac41a652ee5b71 /backends/midi | |
parent | 0d4cbea620bca445fd911af16da1669b3009080f (diff) | |
download | scummvm-rg350-d454c9b3793fdda9551d7833da08ab503fc10689.tar.gz scummvm-rg350-d454c9b3793fdda9551d7833da08ab503fc10689.tar.bz2 scummvm-rg350-d454c9b3793fdda9551d7833da08ab503fc10689.zip |
Minor constness fixes
svn-id: r43974
Diffstat (limited to 'backends/midi')
-rw-r--r-- | backends/midi/alsa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp index 3015ac786e..ff84744569 100644 --- a/backends/midi/alsa.cpp +++ b/backends/midi/alsa.cpp @@ -228,10 +228,10 @@ void MidiDriver_ALSA::sysEx(const byte *msg, uint16 length) { } int MidiDriver_ALSA::parse_addr(const char *arg, int *client, int *port) { - char *p; + const char *p; if (isdigit(*arg)) { - if ((p = (char *)strpbrk(arg, ADDR_DELIM)) == NULL) + if ((p = strpbrk(arg, ADDR_DELIM)) == NULL) return -1; *client = atoi(arg); *port = atoi(p + 1); |