MidiWinMM: fixed compiler warning

Pass 0 instead of NULL for 3rd and 4th argument of midiOutOpen().
This commit is contained in:
Tobias Doerffel committed 2010-12-05 23:29:23 +01:00
1 parent 625e70d50a
commit 8c4a8182ab
1 file changed
+1 -1
+1 -1
View File
@@ -328,7 +328,7 @@ void MidiWinMM::openDevices()
MIDIOUTCAPS c;
midiOutGetDevCaps( i, &c, sizeof( c ) );
HMIDIOUT hm = 0;
MMRESULT res = midiOutOpen( &hm, i, NULL, NULL, CALLBACK_NULL );
MMRESULT res = midiOutOpen( &hm, i, 0, 0, CALLBACK_NULL );
if( res == MMSYSERR_NOERROR )
{
m_outputDevices[hm] = qstrdup( c.szPname );