Andrew Talbot : ole32: Cast-qual warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 9 10:24:53 CDT 2007


Module: wine
Branch: master
Commit: d4417c3c14d2c8283a7c3a6cc67a3d6eaa38d2ed
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d4417c3c14d2c8283a7c3a6cc67a3d6eaa38d2ed

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Sat Jul  7 17:20:53 2007 +0100

ole32: Cast-qual warning fix.

---

 dlls/ole32/stubmanager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c
index 76e07a2..2243f33 100644
--- a/dlls/ole32/stubmanager.c
+++ b/dlls/ole32/stubmanager.c
@@ -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)




More information about the wine-cvs mailing list