mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:38:21 +00:00
ole32: Cast-qual warning fix.
This commit is contained in:
parent
234b0d8c1e
commit
d4417c3c14
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue