mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
widl: None of the non-fixed arrays have fixed sizes, so don't set the alignment to anything and return a size of 0 from get_required_buffer_size_type.
This commit is contained in:
parent
cf983bf15d
commit
aa649542e2
@ -2226,14 +2226,10 @@ static unsigned int get_required_buffer_size_type(
|
||||
|
||||
case RPC_FC_SMVARRAY:
|
||||
case RPC_FC_LGVARRAY:
|
||||
get_required_buffer_size_type(type->ref, name, alignment);
|
||||
size = 0;
|
||||
break;
|
||||
|
||||
case RPC_FC_CARRAY:
|
||||
case RPC_FC_CVARRAY:
|
||||
get_required_buffer_size_type(type->ref, name, alignment);
|
||||
size = sizeof(void *);
|
||||
case RPC_FC_BOGUS_ARRAY:
|
||||
size = 0;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user