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

Alexandre Julliard julliard at winehq.org
Mon Apr 20 15:01:47 CDT 2020


Module: wine
Branch: oldstable
Commit: c1f2e4ae7637d823075907789c6c76fa4f46411f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c1f2e4ae7637d823075907789c6c76fa4f46411f

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>
(cherry picked from commit 28715ce34e9e406fc3761031bd0b52b2600b3333)
Signed-off-by: Michael Stefaniuc <mstefani 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 2b5b297870..6b77aae66a 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