X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fir%2Ffield-types.c;fp=formats%2Fctf%2Fir%2Ffield-types.c;h=c9c424ea76a3e901c80453a06a780ab919f952f6;hb=4b2da5f09521bc6d8e421f865fb07e4772664c70;hp=7f324c9a47b5c25f5a107e8e4bbf2bdf92e27392;hpb=73892edccc428bf4d579a176037b14195b852e63;p=babeltrace.git diff --git a/formats/ctf/ir/field-types.c b/formats/ctf/ir/field-types.c index 7f324c9a..c9c424ea 100644 --- a/formats/ctf/ir/field-types.c +++ b/formats/ctf/ir/field-types.c @@ -2150,6 +2150,13 @@ enum bt_ctf_byte_order bt_ctf_field_type_get_byte_order( ret = integer->user_byte_order; break; } + case BT_CTF_TYPE_ID_ENUM: + { + struct bt_ctf_field_type_enumeration *enum_ft = container_of( + type, struct bt_ctf_field_type_enumeration, parent); + ret = bt_ctf_field_type_get_byte_order(enum_ft->container); + break; + } case BT_CTF_TYPE_ID_FLOAT: { struct bt_ctf_field_type_floating_point *floating_point =