mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:38:21 +00:00
dispex/tests: Get rid of a cast from a COM object to an iface.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
14d3dfde67
commit
c9acabe1dd
|
@ -356,7 +356,7 @@ static IDispatchEx *dispex_create(void)
|
|||
if (!This) return NULL;
|
||||
This->IDispatchEx_iface.lpVtbl = &dispex_vtable;
|
||||
This->refs = 1;
|
||||
return (IDispatchEx *)This;
|
||||
return &This->IDispatchEx_iface;
|
||||
}
|
||||
|
||||
static void test_dispex(void)
|
||||
|
|
Loading…
Reference in a new issue