X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b73466ada27682d1729f394549479da83ef4a99..befbbbe1fbb31663a8f91e24ce12df271cf4ae79:/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..9275ef1707 100644 --- a/teshsuite/smpi/mpich3-test/datatype/longdouble.c +++ b/teshsuite/smpi/mpich3-test/datatype/longdouble.c @@ -35,8 +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)); + printf("type_size != sizeof(long double) : (%d != %zd)\n", + type_size, sizeof(long double)); ++errs; } } @@ -45,8 +45,8 @@ 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)); + printf("type_size != sizeof(long double _Complex) : (%d != %zd)\n", + type_size, sizeof(long double _Complex)); ++errs; } } @@ -62,4 +62,3 @@ int main(int argc, char *argv[]) MPI_Finalize(); return 0; } -