Skip to content

Commit dd2f40b

Browse files
committed
playaud.c: remove unneeded cast
Fixes: #61
1 parent e5de12d commit dd2f40b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dapi/src/nt/playaud.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5934,7 +5934,7 @@ static MMRESULT OpenWaveOutputDevice( HPLAY_AUDIO_T pPlayAudio )
59345934
mmStatus = waveOutOpen( &(pPlayAudio->hWaveOut),
59355935
pPlayAudio->uiSelectedDeviceID,
59365936
(LPWAVEFORMATEX)pWaveFormat,
5937-
(DWORD)WaveOutCallbackRoutine,
5937+
WaveOutCallbackRoutine,
59385938
(DWORD)pPlayAudio,
59395939
dwOpenFlags ))
59405940
#endif
@@ -5997,7 +5997,7 @@ static MMRESULT OpenWaveOutputDevice( HPLAY_AUDIO_T pPlayAudio )
59975997
mmStatus = waveOutOpen( &(pPlayAudio->hWaveOut),
59985998
pPlayAudio->uiSelectedDeviceID,
59995999
(LPWAVEFORMATEX)pWaveFormat,
6000-
(DWORD)WaveOutCallbackRoutine,
6000+
WaveOutCallbackRoutine,
60016001
(DWORD)pPlayAudio,
60026002
dwOpenFlags ))
60036003
#endif

0 commit comments

Comments
 (0)