X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d5cc61332edae35867a41bb38ad9401faaab2716..6633f5c4d1b7d52fa54306ee3fb7eb573daeb274:/src/smpi/colls/smpi_nbc_impl.cpp diff --git a/src/smpi/colls/smpi_nbc_impl.cpp b/src/smpi/colls/smpi_nbc_impl.cpp index eed0380625..51af4b1705 100644 --- a/src/smpi/colls/smpi_nbc_impl.cpp +++ b/src/smpi/colls/smpi_nbc_impl.cpp @@ -441,7 +441,7 @@ int Colls::ireduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype d if (size <= 0) return MPI_ERR_COMM; - void* tmp_sendbuf = nullptr; + unsigned char* tmp_sendbuf = nullptr; if( sendbuf == MPI_IN_PLACE ) { tmp_sendbuf = smpi_get_tmp_sendbuffer(count * datatype->get_extent()); Datatype::copy(recvbuf, count, datatype, tmp_sendbuf, count, datatype);