From c5b0974b93b7cc54aee4defdda445b0aa7e89a35 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 31 Jan 2022 14:15:17 +0100 Subject: [PATCH] dsound: Use correct integral type. Signed-off-by: Eric Pouech Signed-off-by: Andrew Eikum Signed-off-by: Alexandre Julliard --- dlls/dsound/mixer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index d28cc8dc5aa..1f91bc4dc0e 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c @@ -694,7 +694,8 @@ static void DSOUND_WaveQueue(DirectSoundDevice *device, LPBYTE pos, DWORD bytes) */ static void DSOUND_PerformMix(DirectSoundDevice *device) { - DWORD block, pad_frames, pad_bytes, frames; + DWORD block, pad_bytes, frames; + UINT32 pad_frames; HRESULT hr; TRACE("(%p)\n", device);