From: compudj Date: Sun, 9 Jan 2005 16:25:24 +0000 (+0000) Subject: time bug fix X-Git-Tag: v0.12.20~2637 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e4035e1856b098978625edbd255e28f76394a33f;p=lttv.git time bug fix git-svn-id: http://ltt.polymtl.ca/svn@852 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/ltt-types.h b/ltt/branches/poly/ltt/ltt-types.h index 0d8b5406..1076b8a6 100644 --- a/ltt/branches/poly/ltt/ltt-types.h +++ b/ltt/branches/poly/ltt/ltt-types.h @@ -81,9 +81,9 @@ static inline LttTime ltt_get_time(gboolean reverse_byte_order, void *ptr) { LttTime output; - output.tv_sec = ltt_get_uint64(reverse_byte_order, ptr); - ptr += sizeof(guint64); - output.tv_nsec = ltt_get_uint64(reverse_byte_order, ptr); + output.tv_sec = ltt_get_uint32(reverse_byte_order, ptr); + ptr += sizeof(guint32); + output.tv_nsec = ltt_get_uint32(reverse_byte_order, ptr); return output; }