Rob Shearman : widl: Fix check_remoting_fields to enumerate the correct list of fields.
Alexandre Julliard
julliard at winehq.org
Tue Jun 24 06:44:37 CDT 2008
Module: wine
Branch: master
Commit: b2286fd45c76a4ccae83965f62f6a758ea87a119
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b2286fd45c76a4ccae83965f62f6a758ea87a119
Author: Rob Shearman <robertshearman at gmail.com>
Date: Mon Jun 23 22:29:15 2008 +0100
widl: Fix check_remoting_fields to enumerate the correct list of fields.
---
tools/widl/parser.y | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 4db992b..8257035 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -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);
}
More information about the wine-cvs
mailing list