From 565e35da7e88fd40818a66a6587c3d1a6b685366 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Wed, 19 Oct 2016 23:27:12 +0100 Subject: [PATCH] Replace `(char *)0' et al with `NULL'. None of them are vararg parameters. --- uip/burst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uip/burst.c b/uip/burst.c index 0cfb4065..14293536 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -478,13 +478,13 @@ burst (struct msgs **mpp, int msgnum, struct smsg *smsgs, int numburst, admonish (f3, "unable to rename %s to", f1); (void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i); - ext_hook("del-hook", f3, (char *)0); + ext_hook("del-hook", f3, NULL); } if (rename (f2, f1) == NOTOK) admonish (f1, "unable to rename %s to", f2); (void)snprintf(f3, sizeof (f3), "%s/%d", maildir, i); - ext_hook("add-hook", f3, (char *)0); + ext_hook("add-hook", f3, NULL); copy_msg_flags (mp, i, msgnum); mp->msgflags |= SEQMOD; -- 2.56.0