Module: wine Branch: master Commit: 8e2db1dfe1201c5387771094e3708ce3dbf2fc25 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8e2db1dfe1201c5387771094e3...
Author: Michael Stefaniuc mstefani@redhat.de Date: Fri Jul 1 10:29:56 2016 +0200
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
---
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; }