From 137166ff0a3afa7ab3b00a59ff076275e6b31d6e Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 27 Nov 2016 00:58:06 +0300 Subject: [PATCH] msctf: Use interface pointer instead of object pointer. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/msctf/threadmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msctf/threadmgr.c b/dlls/msctf/threadmgr.c index aa838dade92..e1f56f1e4f4 100644 --- a/dlls/msctf/threadmgr.c +++ b/dlls/msctf/threadmgr.c @@ -1336,7 +1336,7 @@ HRESULT ThreadMgr_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut) This->refCount = 1; TlsSetValue(tlsIndex,This); - CompartmentMgr_Constructor((IUnknown*)This, &IID_IUnknown, (IUnknown**)&This->CompartmentMgr); + CompartmentMgr_Constructor((IUnknown*)&This->ITfThreadMgrEx_iface, &IID_IUnknown, (IUnknown**)&This->CompartmentMgr); list_init(&This->CurrentPreservedKeys); list_init(&This->CreatedDocumentMgrs);