dsound: Use correct pointer type.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-05-08 10:55:11 +03:00 committed by Alexandre Julliard
parent 3d8bd66511
commit 339d9e3a6a
1 changed files with 1 additions and 1 deletions

View File

@ -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);