File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2016-2020 The University of Tennessee and The University
2
+ * Copyright (c) 2016-2021 The University of Tennessee and The University
3
3
* of Tennessee Research Foundation. All rights
4
4
* reserved.
5
5
*
@@ -389,7 +389,7 @@ static int fd_heartbeat_request(comm_detector_t* detector) {
389
389
memcpy (& msg -> rdma_rreg [0 ], detector -> hb_rdma_flag_lreg , regsize );
390
390
msg -> rdma_raddr = (uint64_t )& detector -> hb_rdma_flag ;
391
391
}
392
- ret = ompi_comm_rbcast_send_msg (proc , & msg -> super , sizeof (* msg )+ regsize );
392
+ ret = ompi_comm_rbcast_send_msg (proc , ( ompi_comm_rbcast_message_t * ) msg , sizeof (* msg )+ regsize );
393
393
free (msg );
394
394
break ;
395
395
}
@@ -679,7 +679,7 @@ static int fd_heartbeat_send(comm_detector_t* detector) {
679
679
msg .super .type = comm_heartbeat_recv_cb_type ;
680
680
msg .from = detector -> hb_rdma_rank ; /* comm->c_my_rank; except during finalize when it is equal to detector->hb_observer */
681
681
ompi_proc_t * proc = ompi_comm_peer_lookup (comm , detector -> hb_observer );
682
- ompi_comm_rbcast_send_msg (proc , & msg . super , sizeof (msg ));
682
+ ompi_comm_rbcast_send_msg (proc , ( ompi_comm_rbcast_message_t * ) & msg , sizeof (msg ));
683
683
return OMPI_SUCCESS ;
684
684
}
685
685
You can’t perform that action at this time.
0 commit comments