X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=lib%2Fiterator.c;h=411b377ecf8cda2e6a1ec2ada151e0ed3d944eae;hp=a06d66bdd34790feaea7a2ca477b59b0b89fd93a;hb=refs%2Ftags%2Fv1.0.0-rc6;hpb=4b8de1531a2a5b5ef8ca87ad104567de4f74f469 diff --git a/lib/iterator.c b/lib/iterator.c index a06d66bd..411b377e 100644 --- a/lib/iterator.c +++ b/lib/iterator.c @@ -381,8 +381,8 @@ int bt_iter_set_pos(struct bt_iter *iter, const struct bt_iter_pos *iter_pos) stream->prev_cycles_timestamp = 0; stream->prev_cycles_timestamp_end = 0; - printf_debug("restored to cur_index = %zd and " - "offset = %zd, timestamp = %" PRIu64 "\n", + printf_debug("restored to cur_index = %" PRId64 " and " + "offset = %" PRId64 ", timestamp = %" PRIu64 "\n", stream_pos->cur_index, stream_pos->offset, stream->real_timestamp); @@ -625,7 +625,6 @@ static int babeltrace_filestream_seek(struct ctf_file_stream *file_stream, break; case BT_SEEK_TIME: case BT_SEEK_RESTORE: - case BT_SEEK_END: default: assert(0); /* Not yet defined */ }