Alexandre Julliard : kernel32/tests: Use the correct SIZE_T type instead of unsigned long.

Alexandre Julliard julliard at winehq.org
Sun Jan 4 09:08:58 CST 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Jan  3 20:21:43 2009 +0100

kernel32/tests: Use the correct SIZE_T type instead of unsigned long.

---

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

diff --git a/dlls/kernel32/tests/virtual.c b/dlls/kernel32/tests/virtual.c
index 0fdd69e..6990543 100644
--- a/dlls/kernel32/tests/virtual.c
+++ b/dlls/kernel32/tests/virtual.c
@@ -57,7 +57,7 @@ static void test_VirtualAllocEx(void)
 {
     const unsigned int alloc_size = 1<<15;
     char *src, *dst;
-    unsigned long bytes_written = 0, bytes_read = 0, i;
+    SIZE_T bytes_written = 0, bytes_read = 0, i;
     void *addr1, *addr2;
     BOOL b;
     DWORD old_prot;




More information about the wine-cvs mailing list