[RPCRT4]
authorEric Kohl <eric.kohl@reactos.org>
Thu, 14 Oct 2010 19:41:03 +0000 (19:41 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Thu, 14 Oct 2010 19:41:03 +0000 (19:41 +0000)
Add a missing format type to unmarshall_discriminant().

svn path=/trunk/; revision=49146

reactos/dll/win32/rpcrt4/ndr_marshall.c
reactos/dll/win32/rpcrt4/rpcrt4_ros.diff

index 9946bd1..839a4ca 100644 (file)
@@ -6032,6 +6032,7 @@ static LONG unmarshall_discriminant(PMIDL_STUB_MESSAGE pStubMsg,
     case RPC_FC_WCHAR:
     case RPC_FC_SHORT:
     case RPC_FC_USHORT:
     case RPC_FC_WCHAR:
     case RPC_FC_SHORT:
     case RPC_FC_USHORT:
+    case RPC_FC_ENUM16:
     {
         USHORT d;
         ALIGN_POINTER(pStubMsg->Buffer, sizeof(USHORT));
     {
         USHORT d;
         ALIGN_POINTER(pStubMsg->Buffer, sizeof(USHORT));
index 548e18a..a3309f0 100644 (file)
@@ -15,6 +15,18 @@ Index: epm_towers.h
  #define EPM_PROTOCOL_OSI_TP4                  0x05
  #define EPM_PROTOCOL_OSI_CLNS                 0x06
  #define EPM_PROTOCOL_TCP              0x07
  #define EPM_PROTOCOL_OSI_TP4                  0x05
  #define EPM_PROTOCOL_OSI_CLNS                 0x06
  #define EPM_PROTOCOL_TCP              0x07
+Index: ndr_marshall.c
+===================================================================
+--- ndr_marshall.c     (working copy)
++++ ndr_marshall.c     (working copy)
+@@ -6032,6 +6032,7 @@
+     case RPC_FC_WCHAR:
+     case RPC_FC_SHORT:
+     case RPC_FC_USHORT:
++    case RPC_FC_ENUM16:
+     {
+         USHORT d;
+         ALIGN_POINTER(pStubMsg->Buffer, sizeof(USHORT));
 Index: rpc_epmap.c
 ===================================================================
 --- rpc_epmap.c        (working copy)
 Index: rpc_epmap.c
 ===================================================================
 --- rpc_epmap.c        (working copy)