mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
fix const-cast
This commit is contained in:
parent
f217487aff
commit
43bd7f5db1
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue