Francois Gouget : msvcrt/tests: Fix a signed/unsigned int mismatch.

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 29 08:05:29 CDT 2007


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sun May 27 13:19:10 2007 +0200

msvcrt/tests: Fix a signed/unsigned int mismatch.

---

 dlls/msvcrt/tests/file.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcrt/tests/file.c b/dlls/msvcrt/tests/file.c
index 9444b73..46ccad6 100644
--- a/dlls/msvcrt/tests/file.c
+++ b/dlls/msvcrt/tests/file.c
@@ -144,7 +144,8 @@ static void test_readmode( BOOL ascii_mode )
     int fd;
     FILE *file;
     const int *ip;
-    int i, j, m, fp, ao, pl;
+    int i, j, m, ao, pl;
+    unsigned int fp;
     long l;
 
     fd = open ("fdopen.tst", O_WRONLY | O_CREAT | O_BINARY, _S_IREAD |_S_IWRITE);
@@ -307,7 +308,8 @@ static void test_fgetwc( void )
   WCHAR wtextW[BUFSIZ+LLEN+1];
   WCHAR *mytextW = NULL, *aptr, *wptr;
   BOOL diff_found = FALSE;
-  int i, j;
+  int j;
+  unsigned int i;
   long l;
 
   tempf=_tempnam(".","wne");




More information about the wine-cvs mailing list