From 22facc67d23041f452252c59931ae31232290a46 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 28 Mar 2008 09:21:15 +0100 Subject: [PATCH] user32/tests: Mark unsigned entitities as unsigned. --- dlls/user32/tests/resource.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/user32/tests/resource.c b/dlls/user32/tests/resource.c index 24ec9952539..a8b6c08f3f6 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",