Commit 85ed9a59 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

rpcrt4: Don't advance the buffer for FC_STRUCTPAD2.

parent e7e6f109
...@@ -2002,7 +2002,6 @@ static unsigned long ComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg, ...@@ -2002,7 +2002,6 @@ static unsigned long ComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
break; break;
case RPC_FC_STRUCTPAD2: case RPC_FC_STRUCTPAD2:
size += 2; size += 2;
pStubMsg->Buffer += 2;
break; break;
case RPC_FC_EMBEDDED_COMPLEX: case RPC_FC_EMBEDDED_COMPLEX:
size += pFormat[1]; size += pFormat[1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment