X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9960ea202c197830987b497fd1d2619c887ea9eb..f186fd6470cd6853b97c53782c710745c628e810:/teshsuite/smpi/isp/umpire/lost-request-waitall.c diff --git a/teshsuite/smpi/isp/umpire/lost-request-waitall.c b/teshsuite/smpi/isp/umpire/lost-request-waitall.c index 9eee182988..58976d3a15 100644 --- a/teshsuite/smpi/isp/umpire/lost-request-waitall.c +++ b/teshsuite/smpi/isp/umpire/lost-request-waitall.c @@ -50,8 +50,8 @@ main (int argc, char **argv) printf ("(%d) is alive on %s\n", rank, processor_name); fflush (stdout); - memset (buf0, 0, buf_size); - memset (buf1, 1, buf_size); + memset (buf0, 0, buf_size*sizeof(int)); + memset (buf1, 1, buf_size*sizeof(int)); /* 0 sends 1 two messages, but the request gets overwritten */ switch (rank)