changeset 338:06438e022f9a

eliminated sentinel warning
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 23 Aug 2006 12:28:39 +0200 (2006-08-23)
parents c4c9e2dad45c
children 5c874c619287
files util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util.c	Wed Aug 23 12:10:55 2006 +0200
+++ b/util.c	Wed Aug 23 12:28:39 2006 +0200
@@ -56,7 +56,7 @@
 			if(dpy)
 				close(ConnectionNumber(dpy));
 			setsid();
-			execl(shell, shell, "-c", arg->cmd, NULL);
+			execl(shell, shell, "-c", arg->cmd, (char *)NULL);
 			fprintf(stderr, "dwm: execl '%s -c %s'", shell, arg->cmd);
 			perror(" failed");
 		}