From f5bfa5864d2feef66948fde764c376b7a9f8b839 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sun, 24 Sep 2017 12:56:26 +0100 Subject: [PATCH] annosbr.c: free(3) takes void pointer; don't cast non-const pointer. (const pointers are another whole can of worms, and their const poisoning causes much noise for little benefit.) --- uip/annosbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/annosbr.c b/uip/annosbr.c index b9b725c2..cadfa637 100644 --- a/uip/annosbr.c +++ b/uip/annosbr.c @@ -332,7 +332,7 @@ annosbr (int fd, char *file, char *comp, char *text, bool inplace, bool datesw, * Get rid of the field buffer because we're done with it. */ - free((void *)field); + free(field); } else { -- 2.56.0