games - misc - clean up compiler warnings
[games.git] / games / wump / wump.c
index 6285697..70d9dd6 100644 (file)
@@ -747,7 +747,7 @@ puff of greasy black smoke! (poof)\n");
                        err(1, "open %s", _PATH_WUMPINFO);
                if (dup2(fd, 0) == -1)
                        err(1, "dup2");
-               (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL);
+               (void)execl("/bin/sh", "sh", "-c", pager, NULL);
                err(1, "exec sh -c %s", pager);
        case -1:
                err(1, "fork");