lib: open trace error handling fix
[babeltrace.git] / lib / iterator.c
index 3a07c1abcf1c0e75219528899977f45d6f357199..47650444e196489a5774e6d527b1c1ce83924406 100644 (file)
@@ -22,6 +22,7 @@
 #include <babeltrace/babeltrace.h>
 #include <babeltrace/callbacks-internal.h>
 #include <babeltrace/context.h>
+#include <babeltrace/context-internal.h>
 #include <babeltrace/ctf/metadata.h>
 #include <babeltrace/iterator-internal.h>
 #include <babeltrace/iterator.h>
@@ -224,7 +225,7 @@ struct bt_iter_pos *bt_iter_get_pos(struct bt_iter *iter)
                                        pos->u.restore->stream_saved_pos,
                                        saved_pos);
 
-                               printf_debug("stream : %lu, cur_index : %zd, "
+                               printf_debug("stream : %" PRIu64 ", cur_index : %zd, "
                                        "offset : %zd, "
                                        "timestamp = %" PRIu64 "\n",
                                        stream->stream_id, saved_pos.cur_index,
This page took 0.023444 seconds and 4 git commands to generate.