mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
oleaut32: The function pointer should be const and not the return value.
This commit is contained in:
parent
d0f434eb3a
commit
ec382f4345
@ -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__ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user