File: 02_pmlinuxalsa.diff

package info (click to toggle)
portmidi 2%3A2.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,420 kB
  • sloc: ansic: 8,731; java: 872; cpp: 488; makefile: 45; sh: 1
file content (11 lines) | stat: -rw-r--r-- 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/pm_linux/pmlinuxalsa.c
+++ b/pm_linux/pmlinuxalsa.c
@@ -645,7 +645,7 @@ static void handle_event(snd_seq_event_t
     case SND_SEQ_EVENT_SYSEX: {
         const BYTE *ptr = (const BYTE *) ev->data.ext.ptr;
         /* assume there is one sysex byte to process */
-        pm_read_bytes(midi, ptr, ev->data.ext.len, timestamp);
+        pm_read_bytes(midi, (unsigned char*)ptr, ev->data.ext.len, timestamp);
         break;
     }
     case SND_SEQ_EVENT_PORT_UNSUBSCRIBED: {