Commit 14d3dfde authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

pstorec: Get rid of a cast from a COM object to an iface.

parent 3ad882ff
......@@ -364,7 +364,7 @@ HRESULT WINAPI PStoreCreateInstance( IPStore** ppProvider,
ips->IPStore_iface.lpVtbl = &pstores_vtbl;
ips->ref = 1;
*ppProvider = (IPStore*) ips;
*ppProvider = &ips->IPStore_iface;
return S_OK;
}
......
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