# HG changeset patch # User Anselm R. Garbe # Date 1156328919 -7200 # Node ID 06438e022f9ab4376a69619e5ffbef3e097b3bbf # Parent c4c9e2dad45cfb579d54d8eb2089ac7d31a603e9 eliminated sentinel warning diff -r c4c9e2dad45c -r 06438e022f9a util.c --- 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"); }