msctf: Get rid of a cast from a COM object to an iface.
Michael Stefaniuc
mstefani at redhat.de
Fri Jul 1 03:29:56 CDT 2016
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
---
dlls/msctf/threadmgr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msctf/threadmgr.c b/dlls/msctf/threadmgr.c
index e645619..528414f 100644
--- a/dlls/msctf/threadmgr.c
+++ b/dlls/msctf/threadmgr.c
@@ -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;
}
--
2.5.5
More information about the wine-patches
mailing list