Fix enum rename warnings
[babeltrace.git] / formats / ctf / ir / event.c
index f16a360beb9a3c06b7546a5676d998cc405b8817..4fa80a7447f05d993600665b328c63b76488de8b 100644 (file)
@@ -387,7 +387,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) {
+                       CTF_TYPE_STRUCT) {
                ret = -1;
                goto end;
        }
@@ -633,7 +633,7 @@ int set_integer_field_value(struct bt_ctf_field* field, uint64_t value)
        assert(field_type);
 
        if (bt_ctf_field_type_get_type_id(field_type) !=
-                       BT_CTF_TYPE_ID_INTEGER) {
+                       CTF_TYPE_INTEGER) {
                /* Not an integer and the value is unset, error. */
                ret = -1;
                goto end;
This page took 0.023048 seconds and 4 git commands to generate.