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/3b5c4415fa329b6046f6d9125e0f2a7b29ecae89?hp=2b25184e57a5593aa326450414e239fc306bf2d2 Replace `(char *)0' et al with `NULL'. None of them are vararg parameters. --- diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index c1e836c1..f6a9af33 100644 --- a/sbr/folder_addmsg.c +++ b/sbr/folder_addmsg.c @@ -134,7 +134,7 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected, (void)ext_hook("ref-hook", oldmsg, newmsg); } else - (void)ext_hook("add-hook", newmsg, (char *)0); + (void)ext_hook("add-hook", newmsg, NULL); return msgnum; } else { @@ -191,7 +191,7 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected, (void)ext_hook("ref-hook", oldmsg, newmsg); } else - (void)ext_hook("add-hook", newmsg, (char *)0); + (void)ext_hook("add-hook", newmsg, NULL); return msgnum; }