dlls/user32/sysparams.c tweak

Gerald Pfeifer gerald at pfeifer.com
Sat Dec 29 02:41:02 CST 2007


I noticed this while looking at something else.  Not big, but three 
compiler warnings less...

Gerald

ChangeLog:
Fix type of loop variable.

Index: dlls/user32/sysparams.c
===================================================================
RCS file: /home/wine/wine/dlls/user32/sysparams.c,v
retrieving revision 1.16
diff -u -3 -p -r1.16 sysparams.c
--- dlls/user32/sysparams.c	20 Dec 2007 12:23:17 -0000	1.16
+++ dlls/user32/sysparams.c	29 Dec 2007 08:39:15 -0000
@@ -2898,7 +2898,7 @@ BOOL WINAPI SetSysColors( INT nChanges, 
  */
 DWORD WINAPI SetSysColorsTemp( const COLORREF *pPens, const HBRUSH *pBrushes, DWORD n)
 {
-    int i;
+    DWORD i;
 
     if (pPens && pBrushes) /* "set" call */
     {



More information about the wine-patches mailing list