Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
comment tests we don't support in MPI3, and fix a few we support
[simgrid.git] / teshsuite / smpi / mpich3-test / datatype / longdouble.c
index 7175e91..d9f9ca5 100644 (file)
@@ -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;
 }
-