[PATCH] winapi_test: Fix handling of byte and UCHAR types.
Francois Gouget
fgouget at free.fr
Tue Apr 14 09:56:09 CDT 2020
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
tools/winapi/winapi_test | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tools/winapi/winapi_test b/tools/winapi/winapi_test
index 48c29f8f4ad..adee5e24a65 100755
--- a/tools/winapi/winapi_test
+++ b/tools/winapi/winapi_test
@@ -181,7 +181,11 @@ sub _find_align_kind_size($) {
$align = 1;
$kind = "char";
$size = 1;
- } elsif(/^(?:(signed|unsigned)\s+)?(?:__int8|char|byte)$/) {
+ } elsif(/^(?:byte|UCHAR)$/) {
+ $align = 1;
+ $kind = "unsigned";
+ $size = 1;
+ } elsif(/^(?:(signed|unsigned)\s+)?(?:__int8|char)$/) {
$align = 1;
$kind = defined($1) ? $1 : "signed";
$size = 1;
--
2.20.1
More information about the wine-devel
mailing list