Explorar o código

Merge pull request #8 from drewish/fix-osx-warning

Fix null conversion warning
garyscavone %!s(int64=11) %!d(string=hai) anos
pai
achega
72207f6fe0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      RtMidi.cpp

+ 1 - 1
RtMidi.cpp

@@ -653,7 +653,7 @@ CFStringRef EndpointName( MIDIEndpointRef endpoint, bool isExternal )
     CFRelease( str );
   }
 
-  MIDIEntityRef entity = NULL;
+  MIDIEntityRef entity = 0;
   MIDIEndpointGetEntity( endpoint, &entity );
   if ( entity == 0 )
     // probably virtual