From 1d6132bed6db133cd1476b22e5261fcb6d1d8b5b Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Tue, 23 Jan 2007 14:41:12 +0100 Subject: [PATCH] oleaut32/tests: Cast-qual warning fixes. --- dlls/oleaut32/tests/typelib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c index baeb37025d5..0af97749c34 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]);