From 9876c5433f7db052e25d16c594856058c3c37934 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 26 Jan 2009 15:12:07 +0100 Subject: [PATCH] rpcrt4: Don't align the buffer pointer in ComplexStructMemorySize for alignment formats. --- dlls/rpcrt4/ndr_marshall.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 1ec412df4e5..d1f231d336c 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: