From: Ralph Corderoy Date: Sat, 22 Oct 2016 12:45:35 +0000 (+0100) Subject: Don't need to cast to `char *' for free(3) these days. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/92884625549fcd1e49acf8fde1d54bd537a80072?hp=2db8ea3cc5e4fb968f1872591cf1ff56fc408ff8 Don't need to cast to `char *' for free(3) these days. --- diff --git a/uip/mhstoresbr.c b/uip/mhstoresbr.c index 930decad..9c38a588 100644 --- a/uip/mhstoresbr.c +++ b/uip/mhstoresbr.c @@ -395,7 +395,7 @@ missing_part: ct = *ctq++; if (store_content (ct, NULL, info) == NOTOK) { losing: - free ((char *) base); + free(base); return NOTOK; } @@ -405,7 +405,7 @@ losing: goto losing; } - free ((char *) base); + free(base); return OK; }