X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fctf-ir%2Fevent.c;h=6d878fd757c93c3fc8d170d21f6e3bdc118c6d63;hb=1487a16a42ca7be6b85ef210644d9ac398d7c0dd;hp=80044dd9c318d2877810d1d65a5b084ea98428f1;hpb=1cf2343a42dd1a82d46a16b4c4a51d01156757e0;p=babeltrace.git diff --git a/lib/ctf-ir/event.c b/lib/ctf-ir/event.c index 80044dd9..6d878fd7 100644 --- a/lib/ctf-ir/event.c +++ b/lib/ctf-ir/event.c @@ -348,7 +348,7 @@ int bt_ctf_event_set_payload_field(struct bt_ctf_event *event, } if (bt_ctf_field_type_get_type_id(payload_type) != - BT_CTF_TYPE_ID_STRUCT) { + BT_CTF_FIELD_TYPE_ID_STRUCT) { ret = -1; goto end; }