X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/54e818e2dea66d457ec7061f3f2bec19be321f39..4e62e76d104a17f0c9aaf9135ac605e9c8c87141:/src/smpi/bindings/smpi_pmpi_coll.cpp diff --git a/src/smpi/bindings/smpi_pmpi_coll.cpp b/src/smpi/bindings/smpi_pmpi_coll.cpp index 7f6f627fe7..bf4952b2b9 100644 --- a/src/smpi/bindings/smpi_pmpi_coll.cpp +++ b/src/smpi/bindings/smpi_pmpi_coll.cpp @@ -742,7 +742,7 @@ int PMPI_Ialltoall(const void* sendbuf, int sendcount, MPI_Datatype sendtype, vo std::unique_ptr tmp_sendbuf; if (sendbuf == MPI_IN_PLACE) { tmp_sendbuf.reset(new unsigned char[recvcount * comm->size() * recvtype->size()]); - // memcpy(??,nullptr,0) is actually undefined behavor, even if harmless. + // memcpy(??,nullptr,0) is actually undefined behavior, even if harmless. if (recvbuf != nullptr) memcpy(tmp_sendbuf.get(), recvbuf, recvcount * comm->size() * recvtype->size()); real_sendbuf = tmp_sendbuf.get();