Fix enum rename warnings
[babeltrace.git] / formats / ctf / ir / trace.c
index 60f2a2c43984c9d98d97b4a49128d221a947e465..a84279d2a260697f85e49a9fec6db0df161a7474 100644 (file)
@@ -1037,7 +1037,7 @@ int bt_ctf_trace_set_packet_header_type(struct bt_ctf_trace *trace,
 
        /* packet_header_type must be a structure */
        if (bt_ctf_field_type_get_type_id(packet_header_type) !=
-               BT_CTF_TYPE_ID_STRUCT) {
+               CTF_TYPE_STRUCT) {
                ret = -1;
                goto end;
        }
This page took 0.025439 seconds and 4 git commands to generate.