qmgr: Remove superfluous pointer casts.

This commit is contained in:
Michael Stefaniuc 2009-01-22 09:51:39 +01:00 committed by Alexandre Julliard
parent 4be41680a3
commit 0fed8b992f
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ static DWORD CALLBACK copyProgressCallback(LARGE_INTEGER totalSize,
HANDLE dstFile,
LPVOID obj)
{
BackgroundCopyFileImpl *file = (BackgroundCopyFileImpl *) obj;
BackgroundCopyFileImpl *file = obj;
BackgroundCopyJobImpl *job = file->owner;
ULONG64 diff;

View File

@ -138,7 +138,7 @@ BackgroundCopyManagerImpl globalMgr = {
HRESULT BackgroundCopyManagerConstructor(IUnknown *pUnkOuter, LPVOID *ppObj)
{
TRACE("(%p,%p)\n", pUnkOuter, ppObj);
*ppObj = (IBackgroundCopyManager *) &globalMgr;
*ppObj = &globalMgr;
return S_OK;
}