Module: wine Branch: master Commit: 1d6132bed6db133cd1476b22e5261fcb6d1d8b5b URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d6132bed6db133cd1476b22e5...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Tue Jan 23 14:41:12 2007 +0100
oleaut32/tests: Cast-qual warning fixes.
---
dlls/oleaut32/tests/typelib.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
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]);