Skip to content
Snippets Groups Projects
Commit b026761f authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Fix unnecessary cast.

* buffer is already of type unsigned char *.
parent b0bbf475
No related branches found
No related tags found
No related merge requests found
......@@ -291,7 +291,7 @@ tx_intersections(size_t num_msg,
for (size_t i = 0; i < num_msg; ++i)
{
int rank = sizes[i][SEND_NUM], count = sizes[i][SEND_SIZE];
xt_mpi_call(tx_op((unsigned char *)buffer + ofs,
xt_mpi_call(tx_op(buffer + ofs,
count, MPI_PACKED, rank, tag, comm, requests + i), comm);
ofs += (size_t)count;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment