Commit c65325c5 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent c9acabe1
......@@ -141,7 +141,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
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);
......
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