Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/dsound/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index 1180594526..9b3e730961 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c @@ -699,7 +699,7 @@ static void DSOUND_PerformMix(DirectSoundDevice *device) if (!pad_frames) WARN("Probable buffer underrun\n");
- hr = IAudioRenderClient_GetBuffer(device->render, frames, (void*)&buffer); + hr = IAudioRenderClient_GetBuffer(device->render, frames, (BYTE **)&buffer); if(FAILED(hr)){ WARN("GetBuffer failed: %08x\n", hr); LeaveCriticalSection(&device->mixlock);