MidiApple.cpp: fix getName to allow build with GCC (#6791)
Fixes: https://github.com/LMMS/lmms/issues/6785
This commit is contained in:
@@ -403,7 +403,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 = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user