From ef76c921ed9dfef892202342bc4b9c31cc16a0c9 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Fri, 25 Dec 2020 01:38:24 -0500 Subject: no need to cast NULL to void * --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index fa6379a..518e544 100644 --- a/dwl.c +++ b/dwl.c @@ -1883,7 +1883,7 @@ run(char *startup_cmd) if (startup_pid < 0) EBARF("startup: fork"); if (startup_pid == 0) { - execl("/bin/sh", "/bin/sh", "-c", startup_cmd, (void *)NULL); + execl("/bin/sh", "/bin/sh", "-c", startup_cmd, NULL); EBARF("startup: execl"); } } -- cgit v1.2.3