From d87917cdc9d4777784a643163cbd5f264079c9b6 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Mon, 31 Jul 2023 12:38:35 +0800 Subject: [PATCH 3/5] MidiApple.cpp: fix getName to allow build with GCC (#6791) Fixes: https://github.com/LMMS/lmms/issues/6785 --- src/core/midi/MidiApple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git src/core/midi/MidiApple.cpp src/core/midi/MidiApple.cpp index f4bc0d4dd..3d34de2fe 100644 --- src/core/midi/MidiApple.cpp +++ src/core/midi/MidiApple.cpp @@ -398,7 +398,7 @@ void MidiApple::midiInClose( MIDIEndpointRef reference ) -char *getName( MIDIObjectRef &object ) +char *getName( const MIDIObjectRef &object ) { // Returns the name of a given MIDIObjectRef as char * CFStringRef name = nil;