Eric Pouech : dbgeng: Use correct integral type.

Alexandre Julliard julliard at winehq.org
Mon Jan 31 15:55:19 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Jan 31 14:14:18 2022 +0100

dbgeng: Use correct integral type.

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

---

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

diff --git a/dlls/dbgeng/dbgeng.c b/dlls/dbgeng/dbgeng.c
index 014f723981b..5ffde0e3c80 100644
--- a/dlls/dbgeng/dbgeng.c
+++ b/dlls/dbgeng/dbgeng.c
@@ -81,7 +81,7 @@ static struct target_process *debug_client_get_target(struct debug_client *debug
 }
 
 static HRESULT debug_target_return_string(const char *str, char *buffer, unsigned int buffer_size,
-        unsigned int *size)
+                                          ULONG *size)
 {
     unsigned int len = strlen(str), dst_len;
 
@@ -1877,7 +1877,8 @@ static HRESULT STDMETHODCALLTYPE debugsymbols_GetModuleVersionInformation(IDebug
     struct target_process *target;
     void *version_info, *ptr;
     HRESULT hr = E_FAIL;
-    DWORD handle, size;
+    DWORD handle;
+    UINT size;
 
     TRACE("%p, %u, %s, %s, %p, %u, %p.\n", iface, index, wine_dbgstr_longlong(base), debugstr_a(item), buffer,
             buffer_size, info_size);




More information about the wine-cvs mailing list