Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : fix compilation error
[simgrid.git] / src / xbt / mmalloc / mmcheck.c
index 46b48a6..8e0dc54 100644 (file)
@@ -50,7 +50,7 @@ static void checkhdr(struct mdesc *mdp, const struct hdr *hdr)
 {
   if (hdr->magic != MAGICWORD ||
       ((char *) &hdr[1])[hdr->size] != MAGICBYTE) {
-    (*mdp->abortfunc) ();
+    mdp->abortfunc();
   }
 }