From: compudj Date: Fri, 10 Oct 2008 23:32:48 +0000 (+0000) Subject: update warning X-Git-Tag: v0.12.20~390 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=196085f2708a2286c1ddce189e3a793b54d862a6;p=lttv.git update warning git-svn-id: http://ltt.polymtl.ca/svn@3099 04897980-b3bd-0310-b5e0-8ef037075253 --- 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)