ole32: Cast-qual warning fix.

This commit is contained in:
Andrew Talbot 2007-07-07 17:20:53 +01:00 committed by Alexandre Julliard
parent 234b0d8c1e
commit d4417c3c14

View file

@ -364,7 +364,7 @@ HRESULT ipid_to_stub_manager(const IPID *ipid, APARTMENT **stub_apt, struct stub
{
/* FIXME: hack for IRemUnknown */
if (ipid->Data2 == 0xffff)
*stub_apt = apartment_findfromoxid(*(OXID *)ipid->Data4, TRUE);
*stub_apt = apartment_findfromoxid(*(const OXID *)ipid->Data4, TRUE);
else
*stub_apt = apartment_findfromtid(ipid->Data2);
if (!*stub_apt)