[PATCH 17/18] widl: use FC_CHAR rather than FC_BYTE for boolean typedef to match midl.exe output

Zebediah Figura z.figura12 at gmail.com
Wed Jun 19 22:06:19 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>

On 6/5/19 8:34 PM, Richard Pospesel wrote:
> 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)
> 




More information about the wine-devel mailing list