From: Ralph Corderoy Date: Wed, 19 Oct 2016 22:27:12 +0000 (+0100) Subject: Replace `(char *)0' et al with `NULL'. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/18f7f9774c77d7b02268dbac58238964fc26c5a5?ds=inline;hp=3b5c4415fa329b6046f6d9125e0f2a7b29ecae89 Replace `(char *)0' et al with `NULL'. None of them are vararg parameters. --- diff --git a/sbr/folder_delmsgs.c b/sbr/folder_delmsgs.c index 4f9a3000..94aa29ce 100644 --- a/sbr/folder_delmsgs.c +++ b/sbr/folder_delmsgs.c @@ -103,7 +103,7 @@ folder_delmsgs (struct msgs *mp, int unlink_msgs, int nohook) if (!nohook) { (void)snprintf(msgpath, sizeof (msgpath), "%s/%d", mp->foldpath, msgnum); - (void)ext_hook("del-hook", msgpath, (char *)0); + (void)ext_hook("del-hook", msgpath, NULL); } dp = m_name (msgnum);