Fix babeltrace-log incorrect timestamp type
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 28 Jun 2011 22:45:52 +0000 (18:45 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 28 Jun 2011 22:45:52 +0000 (18:45 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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.032949 seconds and 4 git commands to generate.