X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a882344bc908a258a991701e226556ec23fd7cd6..a46b20e2007bf3a1a675ea590511672f051d38da:/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py diff --git a/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py b/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py index fee996db2c..a6723fac19 100755 --- a/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py +++ b/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py @@ -41,7 +41,7 @@ int main(int argc, char **argv) { int nprocs = -1; int rank = -1; MPI_Win win; - int * winbuf = malloc(N * sizeof(int)); // Window buffer + int * winbuf = (int *)malloc(N * sizeof(int)); // Window buffer int buff_size = 1; MPI_Init(&argc, &argv);