Fix: CTF writer: use appropriate enumerators
[babeltrace.git] / lib / ctf-writer / stream-class.c
index 715b4e90d24c6e268a5e244e57a386adee137a17..a371f400d09f002688476079e62e7c4dc1c47bcc 100644 (file)
@@ -232,7 +232,7 @@ int try_map_clock_class(struct bt_ctf_stream_class *stream_class,
        }
 
        BT_ASSERT(((struct bt_field_type_common *) ft)->id ==
-               BT_CTF_FIELD_TYPE_ID_INTEGER);
+               BT_FIELD_TYPE_ID_INTEGER);
        mapped_clock_class =
                bt_ctf_field_type_integer_get_mapped_clock_class(ft);
        if (!mapped_clock_class) {
This page took 0.024952 seconds and 4 git commands to generate.