]> diplodocus.org Git - nmh/commitdiff
Don't need to cast to `char *' for free(3) these days.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Oct 2016 12:42:45 +0000 (13:42 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Oct 2016 12:42:45 +0000 (13:42 +0100)
uip/ap.c

index bfec342..89b207b 100644 (file)
--- a/uip/ap.c
+++ b/uip/ap.c
@@ -192,7 +192,7 @@ process (char *arg, int length)
         mh_xfree(p->pq_text);
         mh_xfree(p->pq_error);
        q = p->pq_next;
         mh_xfree(p->pq_text);
         mh_xfree(p->pq_error);
        q = p->pq_next;
-       free ((char *) p);
+       free(p);
     }
 
     return status;
     }
 
     return status;