Commit ec382f43 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent d0f434eb
...@@ -5743,7 +5743,7 @@ __ASM_GLOBAL_FUNC( call_method, ...@@ -5743,7 +5743,7 @@ __ASM_GLOBAL_FUNC( call_method,
"ret" ) "ret" )
/* same function but returning floating point */ /* 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 /* ITypeInfo::Invoke
* *
...@@ -5821,7 +5821,7 @@ __ASM_GLOBAL_FUNC( call_method, ...@@ -5821,7 +5821,7 @@ __ASM_GLOBAL_FUNC( call_method,
"ret") "ret")
/* same function but returning floating point */ /* 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__ */ #endif /* __x86_64__ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment