Commit 8746bf09 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

widl: Also compute buffer size for non-ref arrays.

parent dd35baa8
......@@ -3865,16 +3865,13 @@ static unsigned int get_required_buffer_size_type(
}
case TGT_ARRAY:
if (get_pointer_fc(type, attrs, toplevel_param) == FC_RP)
switch (get_array_fc(type))
{
switch (get_array_fc(type))
{
case FC_SMFARRAY:
case FC_LGFARRAY:
return type_array_get_dim(type) *
get_required_buffer_size_type(type_array_get_element_type(type), name,
NULL, FALSE, alignment);
}
case FC_SMFARRAY:
case FC_LGFARRAY:
return type_array_get_dim(type) *
get_required_buffer_size_type(type_array_get_element_type(type), name,
NULL, FALSE, alignment);
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment