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 GitHub
parent 62a8c68736
commit 57e7fdc533

View File

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