[PATCH] d3dcompiler: Use return value in read_dword.
Jacek Caban
jacek at codeweavers.com
Fri May 28 13:11:30 CDT 2021
Fixes warnings like on clang with MSVC target, where enums may be signed:
dlls/d3dcompiler_43/reflection.c:1160:22: warning: passing
'D3D_PRIMITIVE *' (aka 'enum D3D_PRIMITIVE *') to parameter of type
'DWORD *' (aka 'unsigned int *') converts between pointers to integer
types with different sign [-Wpointer-sign]
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
dlls/d3dcompiler_43/d3dcompiler_private.h | 8 +-
dlls/d3dcompiler_43/reflection.c | 144 +++++++++++-----------
dlls/d3dcompiler_43/utils.c | 14 +--
3 files changed, 84 insertions(+), 82 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d3dcompiler-Use-return-value-in-read_dword.txt
Type: text/x-patch
Size: 18391 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210528/03f68517/attachment.bin>
More information about the wine-devel
mailing list