diff options
-rw-r--r-- | backends/midi/alsa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp index 8a5c856983..3015ac786e 100644 --- a/backends/midi/alsa.cpp +++ b/backends/midi/alsa.cpp @@ -231,7 +231,7 @@ int MidiDriver_ALSA::parse_addr(const char *arg, int *client, int *port) { char *p; if (isdigit(*arg)) { - if ((p = strpbrk(arg, ADDR_DELIM)) == NULL) + if ((p = (char *)strpbrk(arg, ADDR_DELIM)) == NULL) return -1; *client = atoi(arg); *port = atoi(p + 1); |