Commit 339d9e3a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dsound: Use correct pointer type.

parent 3d8bd665
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment