winecfg/winecfg.c -- fixed unsignedness

Gerald Pfeifer gerald at pfeifer.com
Sat Jul 5 07:15:17 CDT 2008


ChangeLog:
Fix signedness of variable in enumerate_valuesW().

Index: winecfg/winecfg.c
===================================================================
RCS file: /home/wine/wine/programs/winecfg/winecfg.c,v
retrieving revision 1.57
diff -u -3 -p -r1.57 winecfg.c
--- winecfg/winecfg.c	25 Apr 2008 13:13:20 -0000	1.57
+++ winecfg/winecfg.c	5 Jul 2008 12:14:39 -0000
@@ -483,7 +483,7 @@ WCHAR **enumerate_valuesW(HKEY root, WCH
     HKEY key;
     DWORD res, i = 0;
     WCHAR **values = NULL;
-    int valueslen = 0;
+    unsigned valueslen = 0;
     struct list *cursor;
 
     res = RegOpenKeyW(root, path, &key);



More information about the wine-patches mailing list