Commit dfd821d6 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msdmo: Remove superfluous pointer casts.

parent 3b4bf2f6
......@@ -450,11 +450,11 @@ static HRESULT WINAPI IEnumDMO_fnQueryInterface(
if(IsEqualIID(riid, &IID_IUnknown))
*ppvObj = This;
else if(IsEqualIID(riid, &IID_IEnumDMO))
*ppvObj = (IEnumDMO*)This;
*ppvObj = This;
if(*ppvObj)
{
IEnumDMO_fnAddRef((IEnumDMO*)*ppvObj);
IEnumDMO_fnAddRef(*ppvObj);
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