From 112cb54525b0423731c2b1f9e043682eb88c88c0 Mon Sep 17 00:00:00 2001 From: yangxx Date: Thu, 17 Jul 2003 20:39:42 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@117 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/yangxx/convert/convert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ltt/branches/yangxx/convert/convert.c b/ltt/branches/yangxx/convert/convert.c index b0f0f02c..1614d040 100644 --- a/ltt/branches/yangxx/convert/convert.c +++ b/ltt/branches/yangxx/convert/convert.c @@ -464,9 +464,9 @@ int main(int argc, char ** argv){ if(evId == TRACE_HEARTBEAT){ if(ltt_log_cpu){ - write_to_buffer(write_pos[cpu_id], cur_pos, sizeof(heartbeat)); + write_to_buffer(write_pos[cpu_id],(void*)&beat , sizeof(heartbeat)); }else{ - write_to_buffer(write_pos[0], cur_pos, sizeof(heartbeat)); + write_to_buffer(write_pos[0], (void*)&beat, sizeof(heartbeat)); } } -- 2.34.1