Marcus Meissner : user32/tests: Mark unsigned entitities as unsigned.

Alexandre Julliard julliard at winehq.org
Fri Mar 28 10:02:50 CDT 2008


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

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Fri Mar 28 09:21:15 2008 +0100

user32/tests: Mark unsigned entitities as unsigned.

---

 dlls/user32/tests/resource.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/user32/tests/resource.c b/dlls/user32/tests/resource.c
index 24ec995..a8b6c08 100644
--- a/dlls/user32/tests/resource.c
+++ b/dlls/user32/tests/resource.c
@@ -74,8 +74,8 @@ static void test_LoadStringA (void)
     static const char str[] = "String resource"; /* same in resource.rc */
     char buf[128];
     struct string_test {
-        int bufsiz;
-        int expected;
+        unsigned int bufsiz;
+        unsigned int expected;
     };
     struct string_test tests[] = {{sizeof buf, sizeof str - 1},
                                   {sizeof str, sizeof str - 1},
@@ -85,8 +85,8 @@ static void test_LoadStringA (void)
 
     assert (sizeof str < sizeof buf);
     for (i = 0; i < sizeof tests / sizeof tests[0]; i++) {
-        const int bufsiz = tests[i].bufsiz;
-        const int expected = tests[i].expected;
+        const unsigned int bufsiz = tests[i].bufsiz;
+        const unsigned int expected = tests[i].expected;
         const int len = LoadStringA (hInst, 0, buf, bufsiz);
 
         ok (len == expected, "bufsiz=%d: got %d, expected %d\n",




More information about the wine-cvs mailing list