| commit | ea7b1694de36742f0b3b356a6bebf5d181619583 | [log] [tgz] |
|---|---|---|
| author | Dan Hipschman <dsh@linux.ucla.edu> | Mon Jun 25 18:26:42 2007 -0700 |
| committer | Alexandre Julliard <julliard@winehq.org> | Tue Jun 26 11:59:43 2007 +0200 |
| tree | 2068bb1d50fe98019cf8481911547846c450ffc0 | |
| parent | 076a6206ff9598af97e940b62b8b629da4758e6d [diff] |
rpcrt4: Allow enums as union switch types.
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 2b89e50..d8395b8 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c
@@ -4414,9 +4414,11 @@ case RPC_FC_WCHAR: case RPC_FC_SHORT: case RPC_FC_USHORT: + case RPC_FC_ENUM16: return *(USHORT *)pMemory; case RPC_FC_LONG: case RPC_FC_ULONG: + case RPC_FC_ENUM32: return *(ULONG *)pMemory; default: FIXME("Unhandled base type: 0x%02x\n", fc);