urlmon: Avoid a cast from a COM object to an iface.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a3c5c50bdd
commit
1bf7c738d9
|
@ -1831,7 +1831,7 @@ HRESULT ZoneMgrImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj)
|
|||
TRACE("(%p %p)\n", pUnkOuter, ppobj);
|
||||
ret->IInternetZoneManagerEx2_iface.lpVtbl = &ZoneMgrImplVtbl;
|
||||
ret->ref = 1;
|
||||
*ppobj = (IInternetZoneManagerEx*)ret;
|
||||
*ppobj = &ret->IInternetZoneManagerEx2_iface;
|
||||
|
||||
URLMON_LockModule();
|
||||
|
||||
|
|
Loading…
Reference in New Issue