X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a882344bc908a258a991701e226556ec23fd7cd6..09392faf42646e631a4e42553e901410eb3e488e:/teshsuite/smpi/MBI/RMAArgGenerator.py diff --git a/teshsuite/smpi/MBI/RMAArgGenerator.py b/teshsuite/smpi/MBI/RMAArgGenerator.py index 5cab47b30a..04cef56feb 100755 --- a/teshsuite/smpi/MBI/RMAArgGenerator.py +++ b/teshsuite/smpi/MBI/RMAArgGenerator.py @@ -44,7 +44,7 @@ int main(int argc, char **argv) { MPI_Comm_size(MPI_COMM_WORLD, &numProcs); MPI_Comm_rank(MPI_COMM_WORLD, &rank); - int *winbuf = malloc(N * sizeof(int)); + int *winbuf = (int *)malloc(N * sizeof(int)); MPI_Win win; MPI_Win_create(&winbuf, N * sizeof(int), 1, MPI_INFO_NULL, MPI_COMM_WORLD, &win);