From: Ralph Corderoy Date: Sat, 22 Oct 2016 12:45:24 +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/2db8ea3cc5e4fb968f1872591cf1ff56fc408ff8?ds=sidebyside;hp=ece475032adb04cfd3ed79de9637ffa97475cf95 Don't need to cast to `char *' for free(3) these days. --- diff --git a/uip/mhshow.c b/uip/mhshow.c index a118f642..ce2dcaa2 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -454,7 +454,7 @@ do_cache: for (ctp = cts; *ctp; ctp++) free_content (*ctp); - free ((char *) cts); + free(cts); cts = NULL; if (concatsw)