From: Augustin Degomme Date: Fri, 9 Apr 2021 09:26:22 +0000 (+0200) Subject: try to be preemptive about 32 bits complaints X-Git-Tag: v3.28~455^2~93 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4a01e2ce3660f42bc685560c177592cc09699719 try to be preemptive about 32 bits complaints --- diff --git a/src/smpi/include/private.hpp b/src/smpi/include/private.hpp index 9f53c12bb9..368a04c9ef 100644 --- a/src/smpi/include/private.hpp +++ b/src/smpi/include/private.hpp @@ -599,7 +599,7 @@ XBT_PRIVATE void private_execute_flops(double flops); {\ CHECK_BUFFER2(num,buf,count)\ CHECK_ARGS( simgrid::smpi::utils::get_buffer_size(buf) < (size_t)(count*datatype->get_extent()), MPI_ERR_BUFFER,\ - "%s: param %d message size %ld exceeds buffer %s size %zu",__func__, (num), count*datatype->get_extent(), _XBT_STRINGIFY(buf), simgrid::smpi::utils::get_buffer_size(buf))\ + "%s: param %d message size %zd exceeds buffer %s size %zu",__func__, (num), count*datatype->get_extent(), _XBT_STRINGIFY(buf), simgrid::smpi::utils::get_buffer_size(buf))\ } #define CHECK_COUNT(num, count)\