MidiApple.cpp: fix getName to allow build with GCC (#6791)
Fixes: https://github.com/LMMS/lmms/issues/6785
This commit is contained in:
committed by
Tres Finocchiaro
parent
dd70bab7e5
commit
d87917cdc9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user