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

Michael Stefaniuc mstefani at redhat.de
Tue Sep 7 10:51:29 CDT 2010


Gets rid of
/dlls/oleaut32/typelib.c:5746: warning: type qualifiers ignored on function return type
---
 dlls/oleaut32/typelib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 0a3ad09..0b56960 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
  *
-- 
1.6.4.4



More information about the wine-patches mailing list