From 18f7f9774c77d7b02268dbac58238964fc26c5a5 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_delmsgs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.56.0