[15/18] windowscodecs: Do not assume that vtable is the first element of the object.
Dmitry Timoshkov
dmitry at baikal.ru
Tue Jul 24 01:15:15 CDT 2012
---
dlls/windowscodecs/propertybag.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/windowscodecs/propertybag.c b/dlls/windowscodecs/propertybag.c
index 128cf24..3a85df0 100644
--- a/dlls/windowscodecs/propertybag.c
+++ b/dlls/windowscodecs/propertybag.c
@@ -54,7 +54,7 @@ static HRESULT WINAPI PropertyBag_QueryInterface(IPropertyBag2 *iface, REFIID ii
if (IsEqualIID(&IID_IUnknown, iid) ||
IsEqualIID(&IID_IPropertyBag2, iid))
{
- *ppv = This;
+ *ppv = &This->IPropertyBag2_iface;
}
else
{
--
1.7.11.2
More information about the wine-patches
mailing list