git-svn-id: http://ltt.polymtl.ca/svn@117 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 17 Jul 2003 20:39:42 +0000 (20:39 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 17 Jul 2003 20:39:42 +0000 (20:39 +0000)
ltt/branches/yangxx/convert/convert.c

index b0f0f02cd0853cae3316888c565e059b6ce7a4d5..1614d040c7fdb0223db3c4db7458fca47eefa68d 100644 (file)
@@ -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));               
          }
        }
 
This page took 0.025598 seconds and 4 git commands to generate.