X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8006a03b1ef66a0ddd4a4983ef170781a87a7225..b3b0436f0dd7d2216764a7c0d1f25ed9312d524e:/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; } -