Fix enum rename warnings
[babeltrace.git] / formats / ctf / ir / stream-class.c
index bdd9c13c2153af5d92a59efbbce116e2a3e8969b..c5b1b15ff21c22a01307e5816dc4dfdf5290246f 100644 (file)
@@ -597,7 +597,7 @@ int bt_ctf_stream_class_set_packet_context_type(
                goto end;
        }
        if (bt_ctf_field_type_get_type_id(packet_context_type) !=
-               BT_CTF_TYPE_ID_STRUCT) {
+               CTF_TYPE_STRUCT) {
                /* A packet context must be a structure */
                ret = -1;
                goto end;
@@ -644,7 +644,7 @@ int bt_ctf_stream_class_set_event_header_type(
                goto end;
        }
        if (bt_ctf_field_type_get_type_id(event_header_type) !=
-               BT_CTF_TYPE_ID_STRUCT) {
+               CTF_TYPE_STRUCT) {
                /* An event header must be a structure */
                ret = -1;
                goto end;
@@ -687,7 +687,7 @@ int bt_ctf_stream_class_set_event_context_type(
        }
 
        if (bt_ctf_field_type_get_type_id(event_context_type) !=
-               BT_CTF_TYPE_ID_STRUCT) {
+               CTF_TYPE_STRUCT) {
                /* A packet context must be a structure */
                ret = -1;
                goto end;
This page took 0.023469 seconds and 4 git commands to generate.