summaryrefslogtreecommitdiffstats
path: root/src/subprocess.cc
diff options
context:
space:
mode:
authorHiroyuki Iwatsuki <don@na.rim.or.jp>2012-03-16 13:41:39 (GMT)
committerHiroyuki Iwatsuki <don@na.rim.or.jp>2012-03-16 13:41:39 (GMT)
commitedfe4cb3313fd4a8663cfb8e59277294d9351096 (patch)
tree64d681b6465791c62e92e4d8e3654e7ed4fc0384 /src/subprocess.cc
parentfdec96f54e92d2990ebf1ba5434b317d3d8ad49d (diff)
downloadNinja-edfe4cb3313fd4a8663cfb8e59277294d9351096.zip
Ninja-edfe4cb3313fd4a8663cfb8e59277294d9351096.tar.gz
Ninja-edfe4cb3313fd4a8663cfb8e59277294d9351096.tar.bz2
fix warning: "comparison between signed and unsigned integer expressions"
Diffstat (limited to 'src/subprocess.cc')
-rw-r--r--src/subprocess.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subprocess.cc b/src/subprocess.cc
index 99de93f..25b1bda 100644
--- a/src/subprocess.cc
+++ b/src/subprocess.cc
@@ -45,7 +45,7 @@ bool Subprocess::Start(SubprocessSet* set, const string& command) {
#if !defined(linux)
// On linux we use ppoll in DoWork(); elsewhere we use pselect and so must
// avoid overly-large FDs.
- if (fd_ >= FD_SETSIZE)
+ if (fd_ >= static_cast<int>(FD_SETSIZE))
Fatal("pipe: %s", strerror(EMFILE));
#endif // !linux
SetCloseOnExec(fd_);