Commit a513ff49 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

widl: Don't override the pointer type in top-level arrays.

parent efb13b28
......@@ -1329,7 +1329,7 @@ static void set_type(var_t *v, type_t *type, int ptr_level, array_dims_t *arr,
}
}
if (ptr_type)
if (ptr_type && !arr)
{
if (is_ptr(v->type))
{
......
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