oleaut32: The function pointer should be const and not the return value.

This commit is contained in:
Michael Stefaniuc 2010-09-07 17:51:29 +02:00 committed by Alexandre Julliard
parent d0f434eb3a
commit ec382f4345
1 changed files with 2 additions and 2 deletions

View File

@ -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__ */