pstorec: 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
3ad882ff24
commit
14d3dfde67
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue