From 653906a470919038533e552142683c9edaae6744 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 8 Apr 2013 09:15:15 -0400 Subject: [PATCH] Use uint64_t for packet_map_len packet_map_len is in bits, and we should use uint64_t to represent bits, rather than size_t. Signed-off-by: Mathieu Desnoyers --- formats/ctf/ctf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index 786ba6fb..4e4aabff 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -1302,10 +1302,10 @@ int create_stream_one_packet_index(struct ctf_stream_pos *pos, { struct packet_index packet_index; struct ctf_stream_declaration *stream; - int len_index; uint64_t stream_id = 0; + uint64_t packet_map_len = DEFAULT_HEADER_LEN, tmp_map_len; int first_packet = 0; - size_t packet_map_len = DEFAULT_HEADER_LEN, tmp_map_len; + int len_index; int ret; begin: -- 2.34.1