Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Size can be negative. Use ssize_t instead of size_t.
[simgrid.git] / src / xbt / mmalloc / mmprivate.h
index 8cfc0ad..26feb7d 100644 (file)
@@ -272,7 +272,7 @@ XBT_PUBLIC( void *)__mmalloc_remap_core(xbt_mheap_t mdp);
 /*  Get core for the memory region specified by MDP, using SIZE as the
     amount to either add to or subtract from the existing region.  Works
     like sbrk(), but using mmap(). */
-XBT_PUBLIC( void *)mmorecore(struct mdesc *mdp, size_t size);
+XBT_PUBLIC( void *)mmorecore(struct mdesc *mdp, ssize_t size);
 
 /* Thread-safety (if the sem is already created)
  *