Gerald Pfeifer : kernel32: Fix type of a loop variable in SNOOP16_Entry().

Alexandre Julliard julliard at winehq.org
Mon Jan 14 09:33:24 CST 2008


Module: wine
Branch: master
Commit: 221a8048b9aff88f401388a8d2c07a0c80d4f284
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=221a8048b9aff88f401388a8d2c07a0c80d4f284

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Jan 12 19:53:23 2008 +0100

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

---

 dlls/kernel32/snoop16.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/snoop16.c b/dlls/kernel32/snoop16.c
index f092433..fb82ba9 100644
--- a/dlls/kernel32/snoop16.c
+++ b/dlls/kernel32/snoop16.c
@@ -249,7 +249,8 @@ void WINAPI SNOOP16_Entry(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
 	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-cvs mailing list