File: 02_pmlinuxalsa.diff

package info (click to toggle)
portmidi 2%3A2.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,156 kB
  • sloc: ansic: 8,180; java: 532; cpp: 461; makefile: 55
file content (11 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- portmidi.orig/pm_linux/pmlinuxalsa.c
+++ portmidi/pm_linux/pmlinuxalsa.c
@@ -704,7 +704,7 @@
     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: {