From 4a01e2ce3660f42bc685560c177592cc09699719 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 9 Apr 2021 11:26:22 +0200 Subject: [PATCH] try to be preemptive about 32 bits complaints --- src/smpi/include/private.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)\ -- 2.20.1