Michael Stefaniuc : ole32: Use the proper COM method wrapper.
Alexandre Julliard
julliard at winehq.org
Sun Jul 3 12:18:28 CDT 2016
Module: wine
Branch: master
Commit: 123dd735916ef34a77a104af052b593f52d7b7c8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=123dd735916ef34a77a104af052b593f52d7b7c8
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Jun 29 09:49:16 2016 +0200
ole32: Use the proper COM method wrapper.
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ole32/moniker.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ole32/moniker.c b/dlls/ole32/moniker.c
index 2d6e8e8..afe2343 100644
--- a/dlls/ole32/moniker.c
+++ b/dlls/ole32/moniker.c
@@ -1527,7 +1527,7 @@ static HRESULT WINAPI MonikerMarshalInner_QueryInterface(IUnknown *iface, REFIID
if (IsEqualIID(&IID_IUnknown, riid) || IsEqualIID(&IID_IMarshal, riid))
{
*ppv = &This->IMarshal_iface;
- IUnknown_AddRef((IUnknown *)&This->IMarshal_iface);
+ IMarshal_AddRef(&This->IMarshal_iface);
return S_OK;
}
FIXME("No interface for %s\n", debugstr_guid(riid));
More information about the wine-cvs
mailing list