diff options
| author | andrew morton <drewish@katherinehouse.com> | 2014-01-19 09:06:53 -0800 |
|---|---|---|
| committer | andrew morton <drewish@katherinehouse.com> | 2014-01-19 09:09:40 -0800 |
| commit | 9948f9be323d520f6cb5c0c4518caececd5bf892 (patch) | |
| tree | f0e430af6b792dba459a70c786e63b0be9683faf | |
| parent | 403414019715d56e990da67b9268dee0ecf03c50 (diff) | |
Fix null conversion warning
Avoid this compilation warning:
warning: implicit conversion of NULL constant to 'MIDIEntityRef' (aka 'unsigned int') [-Wnull-conversion]
| -rw-r--r-- | RtMidi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
