mirror of
https://github.com/reactos/wine.git
synced 2024-11-23 20:00:00 +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 New Issue
Block a user