X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=formats%2Fctf-text%2Ftypes%2Farray.c;h=ff2ca5ec3fd24942fe8a6f0369cc596f1129b047;hb=f3985ab106d89d8e764c1a8dd0c8bda09b755d10;hp=47eb1287a0f15dbac4604bc5bf5ecf21113839b1;hpb=ecc54f11c258cad6b54d35da83e525d32c032397;p=babeltrace.git 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);