Eric Pouech : winmm: Use correct integral type.

Alexandre Julliard julliard at winehq.org
Fri Feb 4 16:08:35 CST 2022


Module: wine
Branch: master
Commit: b5ad46a58a1d6d620fe722204d84199188408738
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b5ad46a58a1d6d620fe722204d84199188408738

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Feb  3 11:49:54 2022 +0100

winmm: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winmm/waveform.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/winmm/waveform.c b/dlls/winmm/waveform.c
index ecffa700662..66444ee82dc 100644
--- a/dlls/winmm/waveform.c
+++ b/dlls/winmm/waveform.c
@@ -183,7 +183,7 @@ typedef struct _WINMM_QueryInterfaceInfo {
     BOOL is_out;
     UINT index;
     WCHAR *str;
-    UINT *len_bytes;
+    ULONG *len_bytes;
 } WINMM_QueryInterfaceInfo;
 
 static LRESULT WOD_Open(WINMM_OpenInfo *info);
@@ -1771,7 +1771,8 @@ exit:
 
 static void WID_PullACMData(WINMM_Device *device)
 {
-    UINT32 packet, packet_bytes;
+    UINT32 packet;
+    DWORD packet_bytes;
     DWORD flags;
     BYTE *data;
     WAVEHDR *queue;




More information about the wine-cvs mailing list