在 2020/8/21 23:36, Biswapriyo Nath 写道:
> From 203ac10a2bec1943c3acf37e0a31b8250544e7e0 Mon Sep 17 00:00:00 2001
> From: Biswapriyo Nath <nathbap...@gmail.com>
> Date: Fri, 21 Aug 2020 20:55:01 +0530
> Subject: [PATCH] headers/xaudio2.idl: use cpp_quote for xaudio2 error codes
> 
> using cpp_quote and casting to HRESULT type helps to
> retain HRESULT type in the generated header file.
> Otherwise, the constants are assumed to be int type.
> That produces warnings where conversion of int to long
> are enabled as compiler warning.
> 
> Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com>
> ---
>  mingw-w64-headers/include/xaudio2.idl | 15 ++++++++-------
>  1 file changed, 8 insertions(+), 7 deletions(-)

This file is imported from Wine, so please consider submitting this patch to 
Wine instead.

This patch looks good, as those error codes are also macros in MS headers.


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to