X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Fstring.c;h=9a80b0387e0b33f4103af978dda0fe2ca639e29e;hp=c6cbb54cbe45ea005c01fd0f4273245f4a5d3847;hb=05628561ca57ff5d269571a72a12cb86854c5f70;hpb=6ee5115efee00adab0c8f384bc9c0f38fed8a84e diff --git a/types/string.c b/types/string.c index c6cbb54c..9a80b038 100644 --- a/types/string.c +++ b/types/string.c @@ -58,6 +58,7 @@ struct type_string *string_type_new(const char *name) struct type_string *string_type; string_type = g_new(struct type_string, 1); + string_type->p.id = CTF_TYPE_STRING; string_type->p.name = g_quark_from_string(name); string_type->p.alignment = CHAR_BIT; string_type->p.copy = string_copy;