X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fstream-class-internal.h;h=0dc33b136420891913a7cc7ec5b15d58c66cb185;hb=9ac68eb139149d2768848dae5e263cc5a755d439;hp=b8366aaabd64a757d75384ccb533265b51a53996;hpb=5774b889f257d1756a09ef720f22b8d7081e06fd;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/stream-class-internal.h b/include/babeltrace/ctf-ir/stream-class-internal.h index b8366aaa..0dc33b13 100644 --- a/include/babeltrace/ctf-ir/stream-class-internal.h +++ b/include/babeltrace/ctf-ir/stream-class-internal.h @@ -45,9 +45,9 @@ struct bt_ctf_stream_class { /* event class id (int64_t) to event class */ GHashTable *event_classes_ht; int id_set; - uint32_t id; - uint32_t next_event_id; - uint32_t next_stream_id; + int64_t id; + int64_t next_event_id; + int64_t next_stream_id; struct bt_ctf_field_type *packet_context_type; struct bt_ctf_field_type *event_header_type; struct bt_ctf_field_type *event_context_type; @@ -75,11 +75,11 @@ void bt_ctf_stream_class_set_byte_order( /* Set stream_class id without checking if the stream class is frozen */ BT_HIDDEN int _bt_ctf_stream_class_set_id(struct bt_ctf_stream_class *stream_class, - uint32_t id); + int64_t id); BT_HIDDEN int bt_ctf_stream_class_set_id_no_check( - struct bt_ctf_stream_class *stream_class, uint32_t id); + struct bt_ctf_stream_class *stream_class, int64_t id); static inline struct bt_ctf_trace *bt_ctf_stream_class_borrow_trace(