advapi32/tests: Removed sign comparison warnings in eventlog tests.

Marko Nikolic grkoma at gmail.com
Tue Aug 17 08:39:24 CDT 2010


---
 dlls/advapi32/tests/eventlog.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/advapi32/tests/eventlog.c b/dlls/advapi32/tests/eventlog.c
index ff3f658..746e61b 100644
--- a/dlls/advapi32/tests/eventlog.c
+++ b/dlls/advapi32/tests/eventlog.c
@@ -633,7 +633,7 @@ static BOOL create_new_eventlog(void)
     HKEY key, eventkey;
     BOOL bret = FALSE;
     LONG lret;
-    int i;
+    DWORD i;
 
     /* First create our eventlog */
     lret = RegOpenKeyA(HKEY_LOCAL_MACHINE, eventlogsvc, &key);
@@ -711,7 +711,7 @@ static void test_readwrite(void)
     DWORD sidsize, count;
     BOOL ret, sidavailable;
     BOOL on_vista = FALSE; /* Used to indicate Vista, W2K8 or Win7 */
-    int i;
+    DWORD i;
     char *localcomputer = NULL;
     DWORD size;
 
@@ -1092,7 +1092,7 @@ static void cleanup_eventlog(void)
     BOOL bret;
     LONG lret;
     HKEY key;
-    int i;
+    DWORD i;
     char winesvc[MAX_PATH];
 
     /* Delete the registry tree */
-- 
1.7.0.4




More information about the wine-patches mailing list