Commit c9acabe1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dispex/tests: Get rid of a cast from a COM object to an iface.

parent 14d3dfde
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment