From: Serge Gautherie Date: Wed, 18 Jul 2018 13:21:15 +0000 (+0200) Subject: [OLEAUT32] Fix an MSVC warning about VarCyMul() X-Git-Tag: 0.4.11-dev~119 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=2ad650469ea76edf8b3ec3d8dbc867c5a5781598 [OLEAUT32] Fix an MSVC warning about VarCyMul() "...\vartype.c(3808) : warning C4028: formal parameter 2 different from declaration" Mininal cherry-pick Alexandre Julliard https://source.winehq.org/git/wine.git/commit/18f7ec3670375f6389b36527fbfe1216fe795e53 CORE-7538 --- diff --git a/dll/win32/oleaut32/vartype.c b/dll/win32/oleaut32/vartype.c index eeef9922f20..9e271be5a23 100644 --- a/dll/win32/oleaut32/vartype.c +++ b/dll/win32/oleaut32/vartype.c @@ -3804,7 +3804,7 @@ HRESULT WINAPI VarCyAdd(const CY cyLeft, const CY cyRight, CY* pCyOut) * Success: S_OK. * Failure: DISP_E_OVERFLOW, if the value will not fit in the destination */ -HRESULT WINAPI VarCyMul(const CY cyLeft, const CY cyRight, CY* pCyOut) +HRESULT WINAPI VarCyMul(const CY cyLeft, CY cyRight, CY* pCyOut) { double l,r; _VarR8FromCy(cyLeft, &l);