X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0ffc37686edcc803601f76ab51fdfed5fc2f241..239db2df2d2884b52782ad2c7cf141179bf9c352:/teshsuite/smpi/mpich3-test/datatype/longdouble.c diff --git a/teshsuite/smpi/mpich3-test/datatype/longdouble.c b/teshsuite/smpi/mpich3-test/datatype/longdouble.c index 7175e910cc..d9f9ca55c1 100644 --- a/teshsuite/smpi/mpich3-test/datatype/longdouble.c +++ b/teshsuite/smpi/mpich3-test/datatype/longdouble.c @@ -35,9 +35,8 @@ int main(int argc, char *argv[]) if (MPI_LONG_DOUBLE != MPI_DATATYPE_NULL) { MPI_Type_size(MPI_LONG_DOUBLE, &type_size); if (type_size != sizeof(long double)) { - printf("type_size != sizeof(long double) : (%zd != %zd)\n", - (size_t)type_size, sizeof(long double)); - ++errs; + printf("type_size != sizeof(long double) : (%d != %zu)\n", type_size, sizeof(long double)); + ++errs; } } #endif @@ -45,9 +44,9 @@ int main(int argc, char *argv[]) if (MPI_C_LONG_DOUBLE_COMPLEX != MPI_DATATYPE_NULL) { MPI_Type_size(MPI_C_LONG_DOUBLE_COMPLEX, &type_size); if (type_size != sizeof(long double _Complex)) { - printf("type_size != sizeof(long double _Complex) : (%zd != %zd)\n", - (size_t)type_size, sizeof(long double _Complex)); - ++errs; + printf("type_size != sizeof(long double _Complex) : (%d != %zu)\n", type_size, + sizeof(long double _Complex)); + ++errs; } } #endif @@ -62,4 +61,3 @@ int main(int argc, char *argv[]) MPI_Finalize(); return 0; } -