On 13/07/18 17:40, Serge Gautherie wrote:
"...\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@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*);
Neither the SDK nor MSDN have the second parameter as const. Neither of them have the first parameter as const either, for any of these functions, so I guess that should be changed.