mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
widl: An ENUM16 is 32-bit wide in memory.
This commit is contained in:
parent
f6d2b49145
commit
d375d25d65
1 changed files with 1 additions and 4 deletions
|
@ -1194,14 +1194,11 @@ unsigned int type_memsize(const type_t *t, unsigned int *align)
|
|||
case TYPE_ENUM:
|
||||
switch (get_enum_fc(t))
|
||||
{
|
||||
case RPC_FC_ENUM16:
|
||||
case RPC_FC_ENUM32:
|
||||
size = 4;
|
||||
if (size > *align) *align = size;
|
||||
break;
|
||||
case RPC_FC_ENUM16:
|
||||
size = 2;
|
||||
if (size > *align) *align = size;
|
||||
break;
|
||||
default:
|
||||
error("type_memsize: Unknown enum type\n");
|
||||
size = 0;
|
||||
|
|
Loading…
Reference in a new issue