MidiApple.cpp: fix getName to allow build with GCC (#6791)

Fixes: https://github.com/LMMS/lmms/issues/6785
This commit is contained in:
Sergey Fedorov
2023-07-31 12:38:35 +08:00
committed by Tres Finocchiaro
parent dd70bab7e5
commit d87917cdc9

View File

@@ -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;