Retain order of concurrent MIDI events
[ardour.git] / libs / backends / coreaudio / coremidi_io.cc
index 9d462aa10fc7718905c30cb97e39a017e690099d..1d4f6fbf025e37163a71ec4fe72af2fe4aa25574 100644 (file)
@@ -57,7 +57,7 @@ static void notifyProc (const MIDINotification *message, void *refCon) {
 static void print_packet (const MIDIPacket *p) {
        fprintf (stderr, "CoreMIDI: Packet %d bytes [ ", p->length);
        for (int bb = 0; bb < p->length; ++bb) {
-               fprintf (stderr, "%02x ", ((uint8_t*)p->data)[bb]);
+               fprintf (stderr, "%02x ", ((const uint8_t*)p->data)[bb]);
        }
        fprintf (stderr, "]\n");
 }