Alexandre Julliard : rpcrt4: Don' t align the buffer pointer in ComplexStructMemorySize for alignment formats .

Alexandre Julliard julliard at winehq.org
Mon Jan 26 10:14:26 CST 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jan 26 15:12:07 2009 +0100

rpcrt4: Don't align the buffer pointer in ComplexStructMemorySize for alignment formats.

---

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

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 1ec412d..d1f231d 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -3148,11 +3148,9 @@ static unsigned long ComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
     }
     case RPC_FC_ALIGNM4:
       ALIGN_LENGTH(size, 4);
-      ALIGN_POINTER(pStubMsg->Buffer, 4);
       break;
     case RPC_FC_ALIGNM8:
       ALIGN_LENGTH(size, 8);
-      ALIGN_POINTER(pStubMsg->Buffer, 8);
       break;
     case RPC_FC_STRUCTPAD1:
     case RPC_FC_STRUCTPAD2:




More information about the wine-cvs mailing list