Module: wine Branch: master Commit: 14d3dfde67705f09d2c88013c97bd6ca45fff3de URL: http://source.winehq.org/git/wine.git/?a=commit;h=14d3dfde67705f09d2c88013c9...
Author: Michael Stefaniuc mstefani@redhat.de Date: Fri Jul 1 10:27:53 2016 +0200
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
---
dlls/pstorec/pstorec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/pstorec/pstorec.c b/dlls/pstorec/pstorec.c index b100a08..269ebca 100644 --- a/dlls/pstorec/pstorec.c +++ b/dlls/pstorec/pstorec.c @@ -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; }