msimtf: Get rid of a cast from a COM object to an iface.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-07-01 10:29:06 +02:00 committed by Alexandre Julliard
parent c9acabe1dd
commit c65325c584
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
ActiveIMMApp_Constructor, ActiveIMMApp_Constructor,
}; };
return IClassFactory_QueryInterface((IClassFactory*)&cf, riid, ppv); return IClassFactory_QueryInterface(&cf.IClassFactory_iface, riid, ppv);
} }
FIXME("(%s %s %p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv); FIXME("(%s %s %p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);