mirror of
https://github.com/reactos/wine.git
synced 2025-01-21 03:15:18 +00:00
dsound: Fix an invalid pointer cast.
This commit is contained in:
parent
dcf1a0c891
commit
5da782ac53
@ -130,7 +130,7 @@ HRESULT DSOUND_ReopenDevice(DirectSoundDevice *device, BOOL forcewave)
|
||||
if (device->driver)
|
||||
flags |= WAVE_DIRECTSOUND;
|
||||
|
||||
hres = mmErr(waveOutOpen(&(device->hwo), device->drvdesc.dnDevNode, device->pwfx, (DWORD_PTR)DSOUND_callback, (DWORD)device, flags));
|
||||
hres = mmErr(waveOutOpen(&(device->hwo), device->drvdesc.dnDevNode, device->pwfx, (DWORD_PTR)DSOUND_callback, (DWORD_PTR)device, flags));
|
||||
if (FAILED(hres)) {
|
||||
WARN("waveOutOpen failed\n");
|
||||
if (device->driver)
|
||||
|
Loading…
x
Reference in New Issue
Block a user