X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Ftypes%2Farray.c;fp=formats%2Fctf-text%2Ftypes%2Farray.c;h=ff2ca5ec3fd24942fe8a6f0369cc596f1129b047;hp=47eb1287a0f15dbac4604bc5bf5ecf21113839b1;hb=9a19a512f564cbb301b0b5f1377d64e3b3f0a851;hpb=87b41f95af464c19d4fe9898cdca6bd53338ef04 diff --git a/formats/ctf-text/types/array.c b/formats/ctf-text/types/array.c index 47eb1287..ff2ca5ec 100644 --- a/formats/ctf-text/types/array.c +++ b/formats/ctf-text/types/array.c @@ -52,7 +52,7 @@ int ctf_text_array_write(struct bt_stream_pos *ppos, struct bt_definition *defin rem_(g_quark_to_string(definition->name))); } - if (elem->id == CTF_TYPE_INTEGER) { + if (elem->id == BT_CTF_TYPE_ID_INTEGER) { struct declaration_integer *integer_declaration = container_of(elem, struct declaration_integer, p);