programs/explorer: sign compare fixes
Austin English
austinenglish at gmail.com
Mon Jul 13 19:56:45 CDT 2009
--
-Austin
-------------- next part --------------
From f9d9b7a6f60a5dcdd99b0cd9e0b80cda18e815a4 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Mon, 13 Jul 2009 16:03:06 -0500
Subject: [PATCH] programs/explorer: sign compare fixes
---
programs/explorer/systray.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
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;
--
1.5.4.3
More information about the wine-patches
mailing list