Michael Stefaniuc : qmgr: Remove superfluous pointer casts.
Alexandre Julliard
julliard at winehq.org
Thu Jan 22 08:41:20 CST 2009
Module: wine
Branch: master
Commit: 0fed8b992fc16b48a9e6ae5a67bbda2a254ccedc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0fed8b992fc16b48a9e6ae5a67bbda2a254ccedc
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Thu Jan 22 09:51:39 2009 +0100
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 4129887..91cabb6 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 4e3d259..5fdd121 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;
}
More information about the wine-cvs
mailing list