Use uint64_t for packet_map_len
[babeltrace.git] / formats / ctf / ctf.c
index 786ba6fb120a9758570e74b1a0aa2ee50df06a4c..4e4aabff9ec31d948b9ce6397b202eae9d8e99dd 100644 (file)
@@ -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:
This page took 0.02332 seconds and 4 git commands to generate.