Module: wine Branch: master Commit: 40bda4a0307b55494e776fdd3302005d79a3e9c1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=40bda4a0307b55494e776fdd33... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Sat Aug 18 02:09:09 2012 +0900 windowscodecs: Do not assume that vtable is the first element of the object. --- dlls/windowscodecs/palette.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/windowscodecs/palette.c b/dlls/windowscodecs/palette.c index f033012..045f795 100644 --- a/dlls/windowscodecs/palette.c +++ b/dlls/windowscodecs/palette.c @@ -59,7 +59,7 @@ static HRESULT WINAPI PaletteImpl_QueryInterface(IWICPalette *iface, REFIID iid, if (IsEqualIID(&IID_IUnknown, iid) || IsEqualIID(&IID_IWICPalette, iid)) { - *ppv = This; + *ppv = &This->IWICPalette_iface; } else {