From 0fed8b992fc16b48a9e6ae5a67bbda2a254ccedc Mon Sep 17 00:00:00 2001
From: Michael Stefaniuc <mstefani@redhat.de>
Date: Thu, 22 Jan 2009 09:51:39 +0100
Subject: [PATCH] qmgr: Remove superfluous pointer casts.

---
 dlls/qmgr/file.c | 2 +-
 dlls/qmgr/qmgr.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/qmgr/file.c b/dlls/qmgr/file.c
index 4129887b862..91cabb6afcd 100644
--- a/dlls/qmgr/file.c
+++ b/dlls/qmgr/file.c
@@ -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;
 
diff --git a/dlls/qmgr/qmgr.c b/dlls/qmgr/qmgr.c
index 4e3d259e079..5fdd1219d6d 100644
--- a/dlls/qmgr/qmgr.c
+++ b/dlls/qmgr/qmgr.c
@@ -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;
 }
 
-- 
GitLab