Francois Gouget : rpcrt4: An interface pointer just has the size of a regular pointer.

Alexandre Julliard julliard at winehq.org
Wed Nov 16 12:46:46 CST 2011


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Nov 16 16:24:39 2011 +0100

rpcrt4: An interface pointer just has the size of a regular pointer.

---

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

diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index fdde3a4..88aae7a 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -211,6 +211,8 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
         break;
     default:
         FIXME("Unhandled type %02x\n", *pFormat);
+        /* fallthrough */
+    case RPC_FC_IP:
         size = sizeof(void *);
         break;
     }




More information about the wine-cvs mailing list