X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/90c9c01d50178a8a5398193f5dc16753f568e403..3c6276aa01e97101adf7ff78cab24c44ad2d48fc:/teshsuite/smpi/mpich3-test/coll/scatter3.c diff --git a/teshsuite/smpi/mpich3-test/coll/scatter3.c b/teshsuite/smpi/mpich3-test/coll/scatter3.c index 84e88bbcf4..12cbb472e0 100644 --- a/teshsuite/smpi/mpich3-test/coll/scatter3.c +++ b/teshsuite/smpi/mpich3-test/coll/scatter3.c @@ -39,7 +39,7 @@ int main(int argc, char **argv) MPI_Type_vector(n, 1, stride, MPI_DOUBLE, &vec); MPI_Type_commit(&vec); MPI_Type_extent(vec, &vextent); - if (vextent != ((n - 1) * (MPI_Aint) stride + 1) * sizeof(double)) { + if (vextent != (MPI_Aint)(((n - 1) * stride + 1) * sizeof(double))) { errs++; printf("Vector extent is %ld, should be %ld\n", (long) vextent, (long) (((n - 1) * stride + 1) * sizeof(double)));