[PATCH] dsound: Use correct pointer type
Nikolay Sivov
nsivov at codeweavers.com
Tue May 8 02:55:11 CDT 2018
Signed-off-by: Nikolay Sivov <nsivov at 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);
--
2.17.0
More information about the wine-devel
mailing list