msctf: 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:56 +02:00 committed by Alexandre Julliard
parent c65325c584
commit 8e2db1dfe1
1 changed files with 2 additions and 2 deletions

View File

@ -1488,8 +1488,8 @@ static HRESULT EnumTfDocumentMgr_Constructor(struct list* head, IEnumTfDocumentM
This->head = head;
This->index = list_head(This->head);
TRACE("returning %p\n", This);
*ppOut = (IEnumTfDocumentMgrs*)This;
TRACE("returning %p\n", &This->IEnumTfDocumentMgrs_iface);
*ppOut = &This->IEnumTfDocumentMgrs_iface;
return S_OK;
}