user32: Avoid signed-unsigned integer comparisons (try 2)

Andrew Talbot andrew.talbot at talbotville.com
Thu Mar 14 16:04:24 CDT 2013


Changelog:
    user32: Avoid signed-unsigned integer comparisons.

diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c
index b587e63..0a38440 100644
--- a/dlls/user32/menu.c
+++ b/dlls/user32/menu.c
@@ -4701,7 +4701,7 @@ static inline void set_menu_item_text( MENUITEM *menu, LPCWSTR text, BOOL unicod
  */
 static int MENU_depth( POPUPMENU *pmenu, int depth)
 {
-    int i;
+    UINT i;
     MENUITEM *item;
     int subdepth;
 




More information about the wine-patches mailing list