X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Fstruct.c;h=779cca5c504064d3c03bb4a86962ab58a1917808;hp=5e7e2b4ef3ef740cd94fcfd396fadb05ea14a555;hb=05628561ca57ff5d269571a72a12cb86854c5f70;hpb=96513a7fdd4e81addb67df1a937236748aeee32a diff --git a/types/struct.c b/types/struct.c index 5e7e2b4e..779cca5c 100644 --- a/types/struct.c +++ b/types/struct.c @@ -87,6 +87,7 @@ struct type_struct *struct_type_new(const char *name, sizeof(struct type_field), DEFAULT_NR_STRUCT_FIELDS); struct_type->scope = new_type_scope(parent_scope); + type->id = CTF_TYPE_STRUCT; type->name = g_quark_from_string(name); type->alignment = 1; type->copy = struct_copy;