Andrew Talbot : rpcrt4: Cast-qual warnings fix.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 13 06:29:24 CST 2006


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Sat Nov 11 14:57:53 2006 +0000

rpcrt4: Cast-qual warnings fix.

---

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

diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index a6f1ec6..949923c 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -812,7 +812,7 @@ LONG_PTR WINAPIV NdrClientCall2(PMIDL_ST
     if (pProcHeader->Oi_flags & RPC_FC_PROC_OIF_OBJECT)
     {
         /* object is always the first argument */
-        This = **(void ***)(&pFormat+1);
+        This = **(void *const **)(&pFormat+1);
         NdrProxyInitialize(This, &rpcMsg, &stubMsg, pStubDesc, procedure_number);
     }
     else




More information about the wine-cvs mailing list