[PATCH v2 1/2] ole32: Use correct integral type.

Huw Davies huw at codeweavers.com
Wed Feb 2 01:58:06 CST 2022


From: Eric Pouech <eric.pouech at gmail.com>

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 dlls/ole32/compobj.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 815fdcb11d0..aafc4cf19f8 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -396,7 +396,7 @@ static ULONG WINAPI ISynchronize_fnRelease(ISynchronize *iface)
 static HRESULT WINAPI ISynchronize_fnWait(ISynchronize *iface, DWORD dwFlags, DWORD dwMilliseconds)
 {
     MREImpl *This = impl_from_ISynchronize(iface);
-    UINT index;
+    DWORD index;
     TRACE("%p (%08x, %08x)\n", This, dwFlags, dwMilliseconds);
     return CoWaitForMultipleHandles(dwFlags, dwMilliseconds, 1, &This->event, &index);
 }
-- 
2.23.0




More information about the wine-devel mailing list