Fix: respect signed integers' length when printing in hex base
[babeltrace.git] / formats / ctf-text / types / sequence.c
index 61be860194eb10abcc7454741c59b525fb3f04d5..a9499b451ced7b3580d56899fed05a82508dc022 100644 (file)
 #include <babeltrace/ctf-text/types.h>
 #include <stdio.h>
 
-int ctf_text_sequence_write(struct bt_stream_pos *ppos, struct definition *definition)
+int ctf_text_sequence_write(struct bt_stream_pos *ppos, struct bt_definition *definition)
 {
        struct ctf_text_stream_pos *pos = ctf_text_pos(ppos);
        struct definition_sequence *sequence_definition =
                container_of(definition, struct definition_sequence, p);
        struct declaration_sequence *sequence_declaration =
                sequence_definition->declaration;
-       struct declaration *elem = sequence_declaration->elem;
+       struct bt_declaration *elem = sequence_declaration->elem;
        int field_nr_saved;
        int ret = 0;
 
This page took 0.025118 seconds and 4 git commands to generate.