diff --git a/dlls/ole32/moniker.c b/dlls/ole32/moniker.c index 2d6e8e89490..afe2343b77b 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));