Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This, modify the declaration of type of function pointer. It also clear the warnings...
[simgrid.git] / src / xbt / heap.c
index 747b2e3..243e9c3 100644 (file)
@@ -45,7 +45,7 @@ void xbt_heap_free(xbt_heap_t H)
   int i;
   if (H->free)
     for (i = 0; i < H->count; i++)
-      (*H->free)(H->items[i].content);
+      (*(H->free))(H->items[i].content);
   free(H->items);
   free(H);
   return;