widl: Only classify top-level pointers as ref pointers if they don't have any other pointer attributes.

This commit is contained in:
Rob Shearman 2009-02-24 15:15:42 +00:00 committed by Alexandre Julliard
parent a93f531c21
commit f27261e525
1 changed files with 1 additions and 1 deletions

View File

@ -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, warning_loc_info(&v->loc_info,
"%s: pointer attribute applied to interface " "%s: pointer attribute applied to interface "
"pointer type has no effect\n", v->name); "pointer type has no effect\n", v->name);
if (top) if (top && !ptr_attr)
ptr_attr = RPC_FC_RP; ptr_attr = RPC_FC_RP;
if (ptr_attr != (*pt)->type) if (ptr_attr != (*pt)->type)
{ {