X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e9c0448c6566825b170b98ecff716b098bda10e..a5f8b5a20d3e325ffe4c625d1062c329c4ae165f:/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++;