From 246005c6250f906f693224c0da5a366b3009d338 Mon Sep 17 00:00:00 2001 From: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com> Date: Sat, 14 Jul 2018 02:50:23 +0200 Subject: [PATCH] [WINDOWSCODECS] Fix an MSVC warning about get_decoder_info() (#684) "...\info.c(2163) : warning C4028: formal parameter 1 different from declaration" Cherry-pick https://source.winehq.org/git/wine.git/commit/90518ebd2ca14568879831a5a87685a8385a21d7 CORE-7538 --- dll/win32/windowscodecs/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/windowscodecs/info.c b/dll/win32/windowscodecs/info.c index 33d3c3030dc..0a86266396a 100644 --- a/dll/win32/windowscodecs/info.c +++ b/dll/win32/windowscodecs/info.c @@ -2159,7 +2159,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;