[PATCH] oleaut32: Fix an MSVC warning about VarCyMul().
Serge Gautherie
winehq-git_serge_180711 at gautherie.fr
Fri Jul 13 16:15:46 CDT 2018
Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
Supersedes https://source.winehq.org/patches/data/148551.
"...\vartype.c(3808) : warning C4028: formal parameter 2 different from declaration"
ReactOS-Bug: https://jira.reactos.org/browse/CORE-7538
---
dlls/oleaut32/vartype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c
index eeef992..9e271be 100644
--- a/dlls/oleaut32/vartype.c
+++ b/dlls/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);
--
2.10.0.windows.1
More information about the wine-devel
mailing list