From a41b45a8c5a7ca178748c09aaaca519aaa028d7e Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 31 Jan 2022 14:14:18 +0100 Subject: [PATCH] dbgeng: Use correct integral type. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- 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);