Commit 233a9ea5 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Avoid obj to iface cast in ProtocolFactory_Create.

parent 21578a1a
......@@ -1037,5 +1037,5 @@ HRESULT ProtocolFactory_Create(REFCLSID rclsid, REFIID riid, void **ppv)
return CLASS_E_CLASSNOTAVAILABLE;
}
return IUnknown_QueryInterface((IUnknown*)cf, riid, ppv);
return IInternetProtocolInfo_QueryInterface(&cf->IInternetProtocolInfo_iface, riid, ppv);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment