X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0ffc37686edcc803601f76ab51fdfed5fc2f241..bace8e5a6ff160e200f799250796c5303dc487ba:/teshsuite/smpi/mpich3-test/datatype/get-elements-pairtype.c diff --git a/teshsuite/smpi/mpich3-test/datatype/get-elements-pairtype.c b/teshsuite/smpi/mpich3-test/datatype/get-elements-pairtype.c index 56afdba2a2..d813b2ad17 100644 --- a/teshsuite/smpi/mpich3-test/datatype/get-elements-pairtype.c +++ b/teshsuite/smpi/mpich3-test/datatype/get-elements-pairtype.c @@ -69,8 +69,8 @@ int double_int_test(void) MPI_Type_create_struct(3, blks, disps, types, &stype); MPI_Type_commit(&stype); - err = MPI_Sendrecv(&foo, 1, stype, 0, 0, - &bar, 2, MPI_DOUBLE_INT, 0, 0, + err = MPI_Sendrecv((const void *) &foo, 1, stype, 0, 0, + (void *) &bar, 2, MPI_DOUBLE_INT, 0, 0, MPI_COMM_SELF, &recvstatus); if (err != MPI_SUCCESS) { errs++;