msctf: Remove superfluous pointer casts.

This commit is contained in:
Michael Stefaniuc 2009-03-05 09:39:10 +01:00 committed by Alexandre Julliard
parent a8510589c3
commit cf56483f14
1 changed files with 2 additions and 2 deletions

View File

@ -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);