X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Farray.c;h=02a154e9ab148ea9abd843821a2ae6eca13ac4fc;hp=35415ec8f446401b80b10eb0a8d7dbed1b7d1bab;hb=05628561ca57ff5d269571a72a12cb86854c5f70;hpb=96513a7fdd4e81addb67df1a937236748aeee32a diff --git a/types/array.c b/types/array.c index 35415ec8..02a154e9 100644 --- a/types/array.c +++ b/types/array.c @@ -69,6 +69,7 @@ struct type_array * type_ref(elem_type); array_type->elem = elem_type; array_type->scope = new_type_scope(parent_scope); + type->id = CTF_TYPE_ARRAY; type->name = g_quark_from_string(name); /* No need to align the array, the first element will align itself */ type->alignment = 1;