[oleaut32/tests] Cast-qual warning fixes
Paul Vriens
paul.vriens.wine at gmail.com
Tue Jan 23 07:41:12 CST 2007
Hi,
fix the warnings and remove the now unneeded casts.
Changelog
Cast-qual warning fixes
Cheers,
Paul.
-------------- next part --------------
diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c
index baeb370..0af9774 100644
--- a/dlls/oleaut32/tests/typelib.c
+++ b/dlls/oleaut32/tests/typelib.c
@@ -277,12 +277,12 @@ static void test_CreateDispTypeInfo(void)
FUNCDESC *pFuncDesc;
MEMBERID memid;
- static const WCHAR func1[] = {'f','u','n','c','1',0};
+ static WCHAR func1[] = {'f','u','n','c','1',0};
static const WCHAR func2[] = {'f','u','n','c','2',0};
static const WCHAR func3[] = {'f','u','n','c','3',0};
static const WCHAR parm1[] = {'p','a','r','m','1',0};
static const WCHAR parm2[] = {'p','a','r','m','2',0};
- OLECHAR *name = (OLECHAR *)func1;
+ OLECHAR *name = func1;
ifdata.pmethdata = methdata;
ifdata.cMembers = sizeof(methdata) / sizeof(methdata[0]);
--
1.4.4.4
More information about the wine-patches
mailing list