widl: Fix check_remoting_fields to enumerate the correct list of fields.

This commit is contained in:
Rob Shearman 2008-06-23 22:29:15 +01:00 committed by Alexandre Julliard
parent 925a700574
commit b2286fd45c

View File

@ -2623,7 +2623,7 @@ static void check_remoting_fields(const var_t *var, type_t *type)
fields = type->fields_or_args;
}
if (fields) LIST_FOR_EACH_ENTRY( field, type->fields_or_args, const var_t, entry )
if (fields) LIST_FOR_EACH_ENTRY( field, fields, const var_t, entry )
if (field->type) check_field_common(type, type->name, field);
}