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

msctf: Remove superfluous pointer casts.

parent a8510589
......@@ -148,7 +148,7 @@ static HRESULT ClassFactory_Constructor(LPFNCONSTRUCTOR ctor, LPVOID *ppvOut)
This->vtbl = &ClassFactoryVtbl;
This->ref = 1;
This->ctor = ctor;
*ppvOut = (LPVOID)This;
*ppvOut = This;
TRACE("Created class factory %p\n", This);
MSCTF_refCount++;
return S_OK;
......@@ -217,7 +217,7 @@ HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim)
HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim)
{
TRACE("\n");
*pptim = (ITfThreadMgr*)TlsGetValue(tlsIndex);
*pptim = TlsGetValue(tlsIndex);
if (*pptim)
ITfThreadMgr_AddRef(*pptim);
......
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