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

widl: Only classify top-level pointers as ref pointers if they don't have any…

widl: Only classify top-level pointers as ref pointers if they don't have any other pointer attributes.
parent a93f531c
......@@ -1451,7 +1451,7 @@ static void set_type(var_t *v, decl_spec_t *decl_spec, const declarator_t *decl,
warning_loc_info(&v->loc_info,
"%s: pointer attribute applied to interface "
"pointer type has no effect\n", v->name);
if (top)
if (top && !ptr_attr)
ptr_attr = RPC_FC_RP;
if (ptr_attr != (*pt)->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