From 170f7f8dc19770421df2deb119e48b4ea404be40 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 20 Jan 2009 11:21:10 +0100 Subject: [PATCH] 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 f104c00045a..11d81b90e69 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 06fbf4d339b..51e8d0b594e 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; }