projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afbe218
)
Added a cast to NULL to remove a warning issues by g++ 4.6.
author
Jonathan Sternberg
<jonathansternberg@gmail.com>
Sat, 5 Nov 2011 19:58:51 +0000
(15:58 -0400)
committer
Jonathan Sternberg
<jonathansternberg@gmail.com>
Sat, 5 Nov 2011 19:58:51 +0000
(15:58 -0400)
src/subprocess.cc
patch
|
blob
|
history
diff --git
a/src/subprocess.cc
b/src/subprocess.cc
index
4426da0
..
a27b087
100644
(file)
--- 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