[PATCH 06/14] dlls/dsound: use correct integral type

Eric Pouech eric.pouech at gmail.com
Mon Jan 31 07:15:17 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

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




More information about the wine-devel mailing list