From fc4d5393a5c589b7a509c82d2dc7bf6bf62e01fa Mon Sep 17 00:00:00 2001 From: Andrey Turkin Date: Sun, 1 Aug 2010 12:29:37 +0400 Subject: [PATCH] ntdll/tests: Do not check signedness for char types. --- dlls/ntdll/tests/generated.c | 4 ---- tools/winapi/winapi_test | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/ntdll/tests/generated.c b/dlls/ntdll/tests/generated.c index 86d6425f091..b7f1c9d221d 100644 --- a/dlls/ntdll/tests/generated.c +++ b/dlls/ntdll/tests/generated.c @@ -375,7 +375,6 @@ static void test_pack_CCHAR(void) /* CCHAR */ TEST_TYPE_SIZE (CCHAR, 1) TEST_TYPE_ALIGN (CCHAR, 1) - TEST_TYPE_SIGNED(CCHAR) } static void test_pack_CHAR(void) @@ -383,7 +382,6 @@ static void test_pack_CHAR(void) /* CHAR */ TEST_TYPE_SIZE (CHAR, 1) TEST_TYPE_ALIGN (CHAR, 1) - TEST_TYPE_SIGNED(CHAR) } static void test_pack_DWORDLONG(void) @@ -3786,7 +3784,6 @@ static void test_pack_CCHAR(void) /* CCHAR */ TEST_TYPE_SIZE (CCHAR, 1) TEST_TYPE_ALIGN (CCHAR, 1) - TEST_TYPE_SIGNED(CCHAR) } static void test_pack_CHAR(void) @@ -3794,7 +3791,6 @@ static void test_pack_CHAR(void) /* CHAR */ TEST_TYPE_SIZE (CHAR, 1) TEST_TYPE_ALIGN (CHAR, 1) - TEST_TYPE_SIGNED(CHAR) } static void test_pack_DWORDLONG(void) diff --git a/tools/winapi/winapi_test b/tools/winapi/winapi_test index 878b1ebf478..92f4ae366af 100755 --- a/tools/winapi/winapi_test +++ b/tools/winapi/winapi_test @@ -177,6 +177,10 @@ sub _find_align_kind_size($) { $align = $pointer_size; $kind = "pointer"; $size = $pointer_size; + } elsif(/^char$/) { + $align = 1; + $kind = "char"; + $size = 1; } elsif(/^(?:(signed|unsigned)\s+)?(?:__int8|char|byte)$/) { $align = 1; $kind = defined($1) ? $1 : "signed"; -- 2.11.4.GIT