Richard Pospesel : widl: Use FC_CHAR rather than FC_BYTE for boolean typedef to match midl.exe output.

Alexandre Julliard julliard at winehq.org
Thu Jun 20 16:04:15 CDT 2019


Module: wine
Branch: master
Commit: 28715ce34e9e406fc3761031bd0b52b2600b3333
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=28715ce34e9e406fc3761031bd0b52b2600b3333

Author: Richard Pospesel <richard at torproject.org>
Date:   Wed Jun  5 18:34:14 2019 -0700

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 <richard at torproject.org>
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.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 5d91085..1e5c8e1 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)




More information about the wine-cvs mailing list