[PATCH 17/18] widl: use FC_CHAR rather than FC_BYTE for boolean typedef to match midl.exe output
Richard Pospesel
richard at torproject.org
Wed Jun 5 20:34:14 CDT 2019
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47041
Signed-off-by: Richard Pospesel <richard at torproject.org>
---
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 25bfa959f8..ff3c0de3f5 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -1203,7 +1203,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)
--
2.17.1
More information about the wine-devel
mailing list