X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=formats%2Fctf%2Fir%2Fevent-types.c;h=5e9b31fe954b869e7c46c9aeb6c27543adffe1ed;hb=e54fab7eb1bbd74bbfb8ed9f3422b90d8d54a2d1;hp=41ecb5bd8cc34d7a3b79d14c30c3db7f23b6e38d;hpb=8cdae8c673f4db15001e17ca801d037359360f26;p=babeltrace.git diff --git a/formats/ctf/ir/event-types.c b/formats/ctf/ir/event-types.c index 41ecb5bd..5e9b31fe 100644 --- a/formats/ctf/ir/event-types.c +++ b/formats/ctf/ir/event-types.c @@ -1713,7 +1713,7 @@ struct bt_ctf_field_type *bt_ctf_field_type_variant_get_field_type_signed( goto end; } - field_entry = g_ptr_array_index(variant->fields, (size_t)index); + field_entry = g_ptr_array_index(variant->fields, (size_t) index); type = field_entry->type; end: return type;