objsel: Remove superfluous pointer casts.

This commit is contained in:
Michael Stefaniuc 2009-01-20 11:21:10 +01:00 committed by Alexandre Julliard
parent ba771f0fac
commit 170f7f8dc1
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}