Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compilation
[simgrid.git] / teshsuite / smpi / mpich3-test / coll / bcastzerotype.c
index ece1e25..9ebf1f7 100644 (file)
@@ -20,7 +20,7 @@ int main(int argc, char *argv[])
     /* a random non-zero sized buffer */
 #define NELEM (10)
     buf = malloc(NELEM*sizeof(int));
-    assert(buf);
+    assert(buf!=NULL);
 
     for (i = 0; i < NELEM; i++) {
         buf[i] = wrank * NELEM + i;