Fix babeltrace-log incorrect timestamp type
[babeltrace.git] / converter / babeltrace-log.c
index dfcfde71c9697b3a74341969d59e057219eb5ea4..6a5b1cee5b324e65a20525e3fcb2904b54f5bf7e 100644 (file)
@@ -179,7 +179,7 @@ void write_event_header(struct ctf_stream_pos *pos, char *line,
        /* timestamp */
        ctf_align_pos(pos, sizeof(uint64_t) * CHAR_BIT);
        if (!pos->dummy)
-               *(uint32_t *) ctf_get_pos_addr(pos) = *ts;
+               *(uint64_t *) ctf_get_pos_addr(pos) = *ts;
        ctf_move_pos(pos, sizeof(uint64_t) * CHAR_BIT);
 }
 
This page took 0.022476 seconds and 4 git commands to generate.