From 196085f2708a2286c1ddce189e3a793b54d862a6 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 10 Oct 2008 23:32:48 +0000 Subject: [PATCH] update warning git-svn-id: http://ltt.polymtl.ca/svn@3099 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/lttv/ltt/tracefile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/lttv/ltt/tracefile.c b/trunk/lttv/ltt/tracefile.c index 7f0e3fb8..64830859 100644 --- a/trunk/lttv/ltt/tracefile.c +++ b/trunk/lttv/ltt/tracefile.c @@ -1468,7 +1468,8 @@ void ltt_update_event_size(LttTracefile *tf) */ if (likely(info && info->fields)) { /* alignment */ - tf->event.data += ltt_align((off_t)tf->event.data, info->largest_align, + tf->event.data += ltt_align((off_t)(unsigned long)tf->event.data, + info->largest_align, info->alignment); /* size, dynamically computed */ if (info->size != -1) -- 2.34.1