kernel32/tests: Fix a signed/unsigned warning.

Francois Gouget fgouget at free.fr
Tue Nov 13 13:51:57 CST 2007


---

Visual Studio was complaining about this signed/unsigned comparison.

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

diff --git a/dlls/kernel32/tests/actctx.c b/dlls/kernel32/tests/actctx.c
index 3720f74..643128d 100644
--- a/dlls/kernel32/tests/actctx.c
+++ b/dlls/kernel32/tests/actctx.c
@@ -226,7 +226,7 @@ static BOOL create_wide_manifest(const char *filename, const char *manifest, BOO
     wmanifest[0] = 0xfeff;
     if (fReverse)
     {
-        int i;
+        size_t i;
         for (i = 0; i < strlen(manifest)+1; i++)
             wmanifest[i] = (wmanifest[i] << 8) | ((wmanifest[i] >> 8) & 0xff);
     }
-- 
1.5.3.4




More information about the wine-patches mailing list