From 3b5c4415fa329b6046f6d9125e0f2a7b29ecae89 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. --- sbr/folder_addmsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.56.0