소스 검색

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

Fix null conversion warning
garyscavone 11 년 전
부모
커밋
72207f6fe0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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