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:
Michael Stefaniuc 2016-09-08 22:20:33 +02:00 committed by Alexandre Julliard
parent a3c5c50bdd
commit 1bf7c738d9
1 changed files with 1 additions and 1 deletions

View File

@ -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();