Fix warning on gcc 4.6.1

This commit is contained in:
Wilson Snyder 2012-03-16 18:06:32 -04:00
parent 4619d29b78
commit b4e908d04d
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ private:
dup2(fd_stdout[P_WR], 1);
// And stderr comes from parent
execl("/bin/sh", "sh", "-c", command.c_str(), NULL);
execl("/bin/sh", "sh", "-c", command.c_str(), (char*)NULL);
// Don't use v3fatal, we don't share the common structures any more
fprintf(stderr,"--pipe-filter: exec failed: %s\n",strerror(errno));
_exit(10);