Rob Shearman robertshearman@gmail.com writes:
Thanks for the info. Does the attached patch fix it?
Not quite (static variables are zero anyway), but this does:
diff --git a/tools/widl/typetree.c b/tools/widl/typetree.c index 57a5736..74cbd5f 100644 --- a/tools/widl/typetree.c +++ b/tools/widl/typetree.c @@ -102,7 +102,7 @@ type_t *type_new_basic(enum type_basic_type basic_type)
type_t *type_new_int(enum type_basic_type basic_type, int sign) { - static type_t *int_types[TYPE_BASIC_INT_MAX][3]; + static type_t *int_types[TYPE_BASIC_INT_MAX+1][3];
assert(basic_type <= TYPE_BASIC_INT_MAX);