programs/explorer: sign compare fixes
Austin English
austinenglish at gmail.com
Sun Aug 23 03:44:47 CDT 2009
with patch
--
-Austin
-------------- next part --------------
diff --git a/programs/explorer/systray.c b/programs/explorer/systray.c
index 9be95bb..d3670d2 100644
--- a/programs/explorer/systray.c
+++ b/programs/explorer/systray.c
@@ -53,8 +53,8 @@ struct icon
static struct list icon_list = LIST_INIT( icon_list );
static HWND tray_window;
-static unsigned int alloc_displayed;
-static unsigned int nb_displayed;
+static int alloc_displayed;
+static int nb_displayed;
static struct icon **displayed; /* array of currently displayed icons */
static BOOL hide_systray;
@@ -220,7 +220,7 @@ static BOOL show_icon(struct icon *icon)
/* make an icon invisible */
static BOOL hide_icon(struct icon *icon)
{
- unsigned int i;
+ int i;
WINE_TRACE("id=0x%x, hwnd=%p\n", icon->id, icon->owner);
@@ -455,7 +455,7 @@ static LRESULT WINAPI tray_wndproc( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
case WM_PAINT:
{
- unsigned int i;
+ int i;
PAINTSTRUCT ps;
HDC hdc;
More information about the wine-patches
mailing list