- // Send data from recvbuf. Recv into tmp_buf
- Request::sendrecv((char *) rbuff + disps[send_idx] * extent, send_cnt,
- dtype, dst, tag,
- (char *) tmp_buf + disps[recv_idx] * extent, recv_cnt,
- dtype, dst, tag, comm, &status);
+ // Send data from recvbuf. Recv into tmp_buf
+ Request::sendrecv(static_cast<char*>(rbuff) + disps[send_idx] * extent, send_cnt, dtype, dst, tag,
+ tmp_buf + disps[recv_idx] * extent, recv_cnt, dtype, dst, tag, comm, &status);