[PATCH] oleauto.h: Fix a MsVC warning about VarCyMul().

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Fri Jul 13 10:40:07 CDT 2018


"...\dll\win32\oleaut32\vartype.c(3808) : error C4028: formal parameter 2 different from declaration"

ReactOS-Bug: https://jira.reactos.org/browse/CORE-7538
Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
 include/oleauto.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/oleauto.h b/include/oleauto.h
index 07c46ad..e5127b1 100644
--- a/include/oleauto.h
+++ b/include/oleauto.h
@@ -567,7 +567,7 @@ HRESULT WINAPI VarCyCmp(const CY,const CY);
 HRESULT WINAPI VarCyCmpR8(const CY,DOUBLE);
 HRESULT WINAPI VarCyFix(const CY,CY*);
 HRESULT WINAPI VarCyInt(const CY,CY*);
-HRESULT WINAPI VarCyMul(const CY,CY,CY*);
+HRESULT WINAPI VarCyMul(const CY,const CY,CY*);
 HRESULT WINAPI VarCyMulI4(const CY,LONG,CY*);
 HRESULT WINAPI VarCyMulI8(const CY,LONG64,CY*);
 HRESULT WINAPI VarCyNeg(const CY,CY*);
-- 
2.10.0.windows.1




More information about the wine-devel mailing list