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;
|
if (!This) return NULL;
|
||||||
This->IDispatchEx_iface.lpVtbl = &dispex_vtable;
|
This->IDispatchEx_iface.lpVtbl = &dispex_vtable;
|
||||||
This->refs = 1;
|
This->refs = 1;
|
||||||
return (IDispatchEx *)This;
|
return &This->IDispatchEx_iface;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_dispex(void)
|
static void test_dispex(void)
|
||||||
|
|
Loading…
Reference in New Issue