Commit 0fed8b99 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

qmgr: Remove superfluous pointer casts.

parent 4be41680
...@@ -193,7 +193,7 @@ static DWORD CALLBACK copyProgressCallback(LARGE_INTEGER totalSize, ...@@ -193,7 +193,7 @@ static DWORD CALLBACK copyProgressCallback(LARGE_INTEGER totalSize,
HANDLE dstFile, HANDLE dstFile,
LPVOID obj) LPVOID obj)
{ {
BackgroundCopyFileImpl *file = (BackgroundCopyFileImpl *) obj; BackgroundCopyFileImpl *file = obj;
BackgroundCopyJobImpl *job = file->owner; BackgroundCopyJobImpl *job = file->owner;
ULONG64 diff; ULONG64 diff;
......
...@@ -138,7 +138,7 @@ BackgroundCopyManagerImpl globalMgr = { ...@@ -138,7 +138,7 @@ BackgroundCopyManagerImpl globalMgr = {
HRESULT BackgroundCopyManagerConstructor(IUnknown *pUnkOuter, LPVOID *ppObj) HRESULT BackgroundCopyManagerConstructor(IUnknown *pUnkOuter, LPVOID *ppObj)
{ {
TRACE("(%p,%p)\n", pUnkOuter, ppObj); TRACE("(%p,%p)\n", pUnkOuter, ppObj);
*ppObj = (IBackgroundCopyManager *) &globalMgr; *ppObj = &globalMgr;
return S_OK; return S_OK;
} }
......
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