rpcrt4: Fix typo in union buffer size calculation.

This commit is contained in:
Dan Hipschman 2007-06-18 18:41:04 -07:00 committed by Alexandre Julliard
parent 6fd05b1dc7
commit d2c15ed01b
1 changed files with 1 additions and 1 deletions

View File

@ -4369,7 +4369,7 @@ void WINAPI NdrEncapsulatedUnionBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
pFormat++;
ALIGN_LENGTH(pStubMsg->BufferLength, increment);
switch_value = get_discriminant(switch_value, pMemory);
switch_value = get_discriminant(switch_type, pMemory);
TRACE("got switch value 0x%x\n", switch_value);
/* Add discriminant size */