From cdaf13052a58ae412a1909ee785a5e10c7cb518b Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Thu, 29 Nov 2007 00:11:13 +0100 Subject: [PATCH] winedbg: Warning fixes. --- programs/winedbg/info.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/winedbg/info.c b/programs/winedbg/info.c index a71961ea456..2c56d8fdf91 100644 --- a/programs/winedbg/info.c +++ b/programs/winedbg/info.c @@ -201,7 +201,7 @@ static BOOL CALLBACK info_mod_cb(PCSTR mod_name, DWORD64 base, PVOID ctx) void info_win32_module(DWORD64 base) { struct info_module im; - int i, j, num_printed = 0; + UINT i, j, num_printed = 0; DWORD opt; if (!dbg_curr_process) @@ -388,7 +388,6 @@ void info_win32_window(HWND hWnd, BOOL detailed) char wndName[128]; RECT clientRect; RECT windowRect; - int i; WORD w; if (!IsWindow(hWnd)) hWnd = GetDesktopWindow(); @@ -434,6 +433,8 @@ void info_win32_window(HWND hWnd, BOOL detailed) if (GetClassLong(hWnd, GCL_CBWNDEXTRA)) { + UINT i; + dbg_printf("Extra bytes:"); for (i = 0; i < GetClassLong(hWnd, GCL_CBWNDEXTRA) / 2; i++) {