summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/subprocess.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subprocess.cc b/src/subprocess.cc
index 4426da0..a27b087 100644
--- a/src/subprocess.cc
+++ b/src/subprocess.cc
@@ -69,7 +69,7 @@ bool Subprocess::Start(SubprocessSet* set, const string& command) {
error_pipe = 2;
close(output_pipe[1]);
- execl("/bin/sh", "/bin/sh", "-c", command.c_str(), NULL);
+ execl("/bin/sh", "/bin/sh", "-c", command.c_str(), (char *) NULL);
} while (false);
// If we get here, something went wrong; the execl should have