Jacek Caban : mshtml: Avoid obj to iface cast in ProtocolFactory_Create.
Alexandre Julliard
julliard at winehq.org
Fri Jan 7 09:36:28 CST 2011
Module: wine
Branch: master
Commit: 233a9ea5e68b1ae0863ac65c9a4b08e9e7e7dec5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=233a9ea5e68b1ae0863ac65c9a4b08e9e7e7dec5
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Jan 7 14:22:41 2011 +0100
mshtml: Avoid obj to iface cast in ProtocolFactory_Create.
---
dlls/mshtml/protocol.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/protocol.c b/dlls/mshtml/protocol.c
index 6fdcfd3..f0325bf 100644
--- a/dlls/mshtml/protocol.c
+++ b/dlls/mshtml/protocol.c
@@ -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);
}
More information about the wine-cvs
mailing list