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:
Michael Stefaniuc 2016-07-01 10:27:53 +02:00 committed by Alexandre Julliard
parent 3ad882ff24
commit 14d3dfde67
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}