Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / teshsuite / smpi / mpich3-test / datatype / longdouble.c
index 9275ef1..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) : (%d != %zd)\n",
-                       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) : (%d != %zd)\n",
-                       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