rpcrt4:properly unmarshall EMUM16 discriminant

Jérôme Gardou jerome.gardou at laposte.net
Sun Aug 28 10:13:12 CDT 2011


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

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 85d0a3c..f0482e6 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -6159,6 +6159,7 @@ static LONG 
unmarshall_discriminant(PMIDL_STUB_MESSAGE pStubMsg,
      case RPC_FC_WCHAR:
      case RPC_FC_SHORT:
      case RPC_FC_USHORT:
+    case RPC_FC_ENUM16:
      {
          USHORT d;
          align_pointer(&pStubMsg->Buffer, sizeof(USHORT));
-- 
1.7.2.5





More information about the wine-patches mailing list