Commit 170f7f8d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

objsel: Remove superfluous pointer casts.

parent ba771f0f
...@@ -41,7 +41,7 @@ static HRESULT WINAPI OBJSEL_IClassFactory_QueryInterface( ...@@ -41,7 +41,7 @@ static HRESULT WINAPI OBJSEL_IClassFactory_QueryInterface(
if (IsEqualGUID(riid, &IID_IUnknown) || if (IsEqualGUID(riid, &IID_IUnknown) ||
IsEqualGUID(riid, &IID_IClassFactory)) IsEqualGUID(riid, &IID_IClassFactory))
{ {
*ppvObj = (LPVOID)iface; *ppvObj = iface;
IClassFactory_AddRef(iface); IClassFactory_AddRef(iface);
return S_OK; return S_OK;
} }
......
...@@ -142,7 +142,7 @@ static HRESULT WINAPI OBJSEL_IDsObjectPicker_QueryInterface( ...@@ -142,7 +142,7 @@ static HRESULT WINAPI OBJSEL_IDsObjectPicker_QueryInterface(
if (IsEqualGUID(riid, &IID_IUnknown) || if (IsEqualGUID(riid, &IID_IUnknown) ||
IsEqualGUID(riid, &IID_IDsObjectPicker)) IsEqualGUID(riid, &IID_IDsObjectPicker))
{ {
*ppvObj = (LPVOID)iface; *ppvObj = iface;
OBJSEL_IDsObjectPicker_AddRef(iface); OBJSEL_IDsObjectPicker_AddRef(iface);
return S_OK; return S_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment