[PATCH] windowscodecs: Fix a MsVC warning about get_decoder_info().
Serge Gautherie
winehq-git_serge_180711 at gautherie.fr
Wed Jul 11 10:37:09 CDT 2018
"...\info.c(2163) : warning C4028: formal parameter 1 different from declaration"
ReactOS-Bug: https://jira.reactos.org/browse/CORE-7538
Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
This is the first patch I submit to Wine...
---
dlls/windowscodecs/info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/windowscodecs/info.c b/dlls/windowscodecs/info.c
index 21e6610..e131107 100644
--- a/dlls/windowscodecs/info.c
+++ b/dlls/windowscodecs/info.c
@@ -2155,7 +2155,7 @@ void ReleaseComponentInfos(void)
IWICComponentInfo_Release(&info->IWICComponentInfo_iface);
}
-HRESULT get_decoder_info(const CLSID *clsid, IWICBitmapDecoderInfo **info)
+HRESULT get_decoder_info(REFCLSID clsid, IWICBitmapDecoderInfo **info)
{
IWICComponentInfo *compinfo;
HRESULT hr;
--
2.10.0.windows.1
More information about the wine-devel
mailing list