diff options
Diffstat (limited to 'backends/midi/alsa.cpp')
-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 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)) { |