[PATCH] d3dcompiler_43. Fix a MSVC-x64 warning about dxbc_init().

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Tue Dec 18 10:59:07 CST 2018


Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
"...\utils.c(561) : warning C4028: formal parameter 2 different from declaration"

ReactOS-Bug: https://jira.reactos.org/browse/CORE-7538
---
 dlls/d3dcompiler_43/d3dcompiler_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3dcompiler_43/d3dcompiler_private.h b/dlls/d3dcompiler_43/d3dcompiler_private.h
index 1eea0d2..dcd1467 100644
--- a/dlls/d3dcompiler_43/d3dcompiler_private.h
+++ b/dlls/d3dcompiler_43/d3dcompiler_private.h
@@ -1214,7 +1214,7 @@ HRESULT dxbc_write_blob(struct dxbc *dxbc, ID3DBlob **blob) DECLSPEC_HIDDEN;
 void dxbc_destroy(struct dxbc *dxbc) DECLSPEC_HIDDEN;
 HRESULT dxbc_parse(const char *data, SIZE_T data_size, struct dxbc *dxbc) DECLSPEC_HIDDEN;
 HRESULT dxbc_add_section(struct dxbc *dxbc, DWORD tag, const char *data, DWORD data_size) DECLSPEC_HIDDEN;
-HRESULT dxbc_init(struct dxbc *dxbc, DWORD count) DECLSPEC_HIDDEN;
+HRESULT dxbc_init(struct dxbc *dxbc, UINT count) DECLSPEC_HIDDEN;
 
 static inline void read_dword(const char **ptr, DWORD *d)
 {
-- 
2.10.0.windows.1




More information about the wine-devel mailing list