Dan Hipschman : rpcrt4: Fix typo in union buffer size calculation.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jun 19 06:42:34 CDT 2007
Module: wine
Branch: master
Commit: d2c15ed01bd0a0766b0b4f6e364a1ad58b333141
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d2c15ed01bd0a0766b0b4f6e364a1ad58b333141
Author: Dan Hipschman <dsh at linux.ucla.edu>
Date: Mon Jun 18 18:41:04 2007 -0700
rpcrt4: Fix typo in union buffer size calculation.
---
dlls/rpcrt4/ndr_marshall.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 3f8742c..adf7aba 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -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 */
More information about the wine-cvs
mailing list