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:
Rob Shearman 2007-09-17 23:25:03 +01:00 committed by Alexandre Julliard
parent cf983bf15d
commit aa649542e2

View File

@ -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: