Commit fc4d5393 authored by Andrey Turkin's avatar Andrey Turkin Committed by Alexandre Julliard

ntdll/tests: Do not check signedness for char types.

parent cb2ce2f3
......@@ -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)
......
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment