From: Ralph Corderoy Date: Sat, 22 Oct 2016 12:42:43 +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/895fa65d9caba42798763afe64f4076c21493230?ds=inline Don't need to cast to `char *' for free(3) these days. --- diff --git a/sbr/context_del.c b/sbr/context_del.c index 4b4e285e..37cbce00 100644 --- a/sbr/context_del.c +++ b/sbr/context_del.c @@ -30,7 +30,7 @@ context_del (char *key) m_defs = np->n_next; free (np->n_name); mh_xfree(np->n_field); - free ((char *) np); + free(np); ctxflags |= CTXMOD; return 0; }