--- rxvt-unicode/src/init.C 2007/09/12 21:06:08 1.212 +++ rxvt-unicode/src/init.C 2007/09/14 10:15:41 1.213 @@ -1346,7 +1346,7 @@ sigprocmask (SIG_SETMASK, &ss, 0); /* command interpreter path */ - if (argv != NULL) + if (argv) { # ifdef DEBUG_CMD int i; @@ -1376,7 +1376,7 @@ argv0 = login; } - execlp (shell, argv0, NULL); + execlp (shell, argv0, (char *)0); /* no error message: STDERR is closed! */ }