Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill trailing whitespaces in teshsuite/smpi/{isp,mpich3-test}.
[simgrid.git] / teshsuite / smpi / isp / umpire / no-error-wait-any_src3.c
index 7d17a6c..70bdf9c 100644 (file)
@@ -41,7 +41,7 @@ main (int argc, char **argv)
     }
   else if (rank == 0)
     {
-      memset (buf0, 0, buf_size);
+      memset (buf0, 0, buf_size*sizeof(int));
 
        MPI_Irecv (buf1, buf_size, MPI_INT,
                 MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &req);
@@ -50,7 +50,7 @@ main (int argc, char **argv)
 
       for (i = 0; i < NUMREPS; i++) {
        MPI_Send (buf0, buf_size, MPI_INT, 1, 0, MPI_COMM_WORLD);
-       
+
        MPI_Recv (buf0, buf_size, MPI_INT, 1, 0, MPI_COMM_WORLD, &status);
       }