mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:58:20 +00:00
mshtml: Don't cast from an iface to a COM object.
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
64ccbcbf2f
commit
7701c2c166
|
@ -575,7 +575,7 @@ static ULONG WINAPI ResProtocol_AddRef(IInternetProtocol *iface)
|
|||
|
||||
static ULONG WINAPI ResProtocol_Release(IInternetProtocol *iface)
|
||||
{
|
||||
ResProtocol *This = (ResProtocol*)iface;
|
||||
ResProtocol *This = ResProtocol_from_IInternetProtocol(iface);
|
||||
IUnknown *pUnkOuter = This->pUnkOuter;
|
||||
ULONG ref = InterlockedDecrement(&This->ref);
|
||||
|
||||
|
|
Loading…
Reference in a new issue