objsel: Remove superfluous pointer casts.

Michael Stefaniuc mstefani at redhat.de
Tue Jan 20 04:21:10 CST 2009


---
 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;
     }
-- 
1.6.0.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090120/8e80dd48/attachment.pgp 


More information about the wine-patches mailing list