Michael Stefaniuc : oleaut32: The function pointer should be const and not the return value.
Module: wine Branch: master Commit: ec382f43452890354b9edd30ecb7d293045bb8c2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ec382f43452890354b9edd30ec... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Tue Sep 7 17:51:29 2010 +0200 oleaut32: The function pointer should be const and not the return value. --- dlls/oleaut32/typelib.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 0a3ad09..0fb3cee 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -5743,7 +5743,7 @@ __ASM_GLOBAL_FUNC( call_method, "ret" ) /* same function but returning floating point */ -static const double (*call_double_method)(void*,int,const DWORD*,int*) = (void *)call_method; +static double (* const call_double_method)(void*,int,const DWORD*,int*) = (void *)call_method; /* ITypeInfo::Invoke * @@ -5821,7 +5821,7 @@ __ASM_GLOBAL_FUNC( call_method, "ret") /* same function but returning floating point */ -static const double (CDECL *call_double_method)(void*,int,const DWORD_PTR*) = (void *)call_method; +static double (CDECL * const call_double_method)(void*,int,const DWORD_PTR*) = (void *)call_method; #endif /* __x86_64__ */
participants (1)
-
Alexandre Julliard