Michael Stefaniuc : objsel: Remove superfluous pointer casts.
Alexandre Julliard
julliard at winehq.org
Tue Jan 20 08:27:44 CST 2009
Module: wine
Branch: master
Commit: 170f7f8dc19770421df2deb119e48b4ea404be40
URL: http://source.winehq.org/git/wine.git/?a=commit;h=170f7f8dc19770421df2deb119e48b4ea404be40
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Jan 20 11:21:10 2009 +0100
objsel: Remove superfluous pointer casts.
---
dlls/objsel/factory.c | 2 +-
dlls/objsel/objsel.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/objsel/factory.c b/dlls/objsel/factory.c
index f104c00..11d81b9 100644
--- a/dlls/objsel/factory.c
+++ b/dlls/objsel/factory.c
@@ -41,7 +41,7 @@ static HRESULT WINAPI OBJSEL_IClassFactory_QueryInterface(
if (IsEqualGUID(riid, &IID_IUnknown) ||
IsEqualGUID(riid, &IID_IClassFactory))
{
- *ppvObj = (LPVOID)iface;
+ *ppvObj = iface;
IClassFactory_AddRef(iface);
return S_OK;
}
diff --git a/dlls/objsel/objsel.c b/dlls/objsel/objsel.c
index 06fbf4d..51e8d0b 100644
--- a/dlls/objsel/objsel.c
+++ b/dlls/objsel/objsel.c
@@ -142,7 +142,7 @@ static HRESULT WINAPI OBJSEL_IDsObjectPicker_QueryInterface(
if (IsEqualGUID(riid, &IID_IUnknown) ||
IsEqualGUID(riid, &IID_IDsObjectPicker))
{
- *ppvObj = (LPVOID)iface;
+ *ppvObj = iface;
OBJSEL_IDsObjectPicker_AddRef(iface);
return S_OK;
}
More information about the wine-cvs
mailing list