ole32: Cast-qual warning fix

Andrew Talbot Andrew.Talbot at talbotville.com
Sat Jul 7 11:20:53 CDT 2007


Changelog:
    ole32: Cast-qual warning fix.

diff -urN a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c
--- a/dlls/ole32/stubmanager.c	2007-04-06 12:08:56.000000000 +0100
+++ b/dlls/ole32/stubmanager.c	2007-07-06 21:37:36.000000000 +0100
@@ -364,7 +364,7 @@
 {
     /* 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-patches mailing list