From c1f2e4ae7637d823075907789c6c76fa4f46411f Mon Sep 17 00:00:00 2001 From: Richard Pospesel Date: Wed, 5 Jun 2019 18:34:14 -0700 Subject: [PATCH] widl: Use FC_CHAR rather than FC_BYTE for boolean typedef to match midl.exe output. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47041 Signed-off-by: Richard Pospesel Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard (cherry picked from commit 28715ce34e9e406fc3761031bd0b52b2600b3333) Signed-off-by: Michael Stefaniuc --- tools/widl/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 2b5b297870d..6b77aae66a2 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -1208,7 +1208,7 @@ void init_types(void) decl_builtin_basic("double", TYPE_BASIC_DOUBLE); decl_builtin_basic("error_status_t", TYPE_BASIC_ERROR_STATUS_T); decl_builtin_basic("handle_t", TYPE_BASIC_HANDLE); - decl_builtin_alias("boolean", type_new_basic(TYPE_BASIC_BYTE)); + decl_builtin_alias("boolean", type_new_basic(TYPE_BASIC_CHAR)); } static str_list_t *append_str(str_list_t *list, char *str)