From: yangxx Date: Thu, 17 Jul 2003 20:39:42 +0000 (+0000) Subject: git-svn-id: http://ltt.polymtl.ca/svn@117 04897980-b3bd-0310-b5e0-8ef037075253 X-Git-Tag: v0.12.20~3372 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=112cb54525b0423731c2b1f9e043682eb88c88c0;p=lttv.git git-svn-id: ltt.polymtl.ca/svn@117 04897980-b3bd-0310-b5e0-8ef037075253 --- 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)); } }