https://git.reactos.org/?p=reactos.git;a=commitdiff;h=246005c6250f906f69322…
commit 246005c6250f906f693224c0da5a366b3009d338
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Sat Jul 14 02:50:23 2018 +0200
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Jul 14 02:50:23 2018 +0200
[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/90518ebd2ca14568879831a5a8768…
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 33d3c3030d..0a86266396 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;