dlls/kernel32/snoop16.c loop variable type fix

Gerald Pfeifer gerald at pfeifer.com
Sat Jan 12 12:53:23 CST 2008


ChangeLog:
Fix type of a loop variable in SNOOP16_Entry().

Gerald

Index: dlls/kernel32/snoop16.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel32/snoop16.c,v
retrieving revision 1.2
diff -u -3 -p -r1.2 snoop16.c
--- dlls/kernel32/snoop16.c	13 Oct 2006 10:27:19 -0000	1.2
+++ dlls/kernel32/snoop16.c	12 Jan 2008 18:52:47 -0000
@@ -249,7 +249,8 @@ void WINAPI SNOOP16_Entry(FARPROC proc, 
 	SNOOP16_FUN	*fun = NULL;
 	SNOOP16_RETURNENTRIES	**rets = &firstrets;
 	SNOOP16_RETURNENTRY	*ret;
-	int		i=0, max;
+	unsigned	i=0;
+	int		max;
 
 	while (dll) {
 		if (xcs == dll->funhandle) {



More information about the wine-patches mailing list