update warning
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 10 Oct 2008 23:32:48 +0000 (23:32 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 10 Oct 2008 23:32:48 +0000 (23:32 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3099 04897980-b3bd-0310-b5e0-8ef037075253

trunk/lttv/ltt/tracefile.c

index 7f0e3fb832b3ea321ed9e6c4395e971e47551d23..64830859cfdf4d6df870c9742d4b86cb18ab63bb 100644 (file)
@@ -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)
This page took 0.024948 seconds and 4 git commands to generate.