diff options
Diffstat (limited to 'libadhocutil/processPipes.cpp')
-rw-r--r-- | libadhocutil/processPipes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libadhocutil/processPipes.cpp b/libadhocutil/processPipes.cpp index cc0b017..e50d0f1 100644 --- a/libadhocutil/processPipes.cpp +++ b/libadhocutil/processPipes.cpp @@ -134,7 +134,7 @@ namespace AdHoc::System { getrlimit(RLIMIT_NOFILE, &lim); std::vector<struct pollfd> fds; fds.reserve(lim.rlim_max); - for (int n = 3; n < (int)lim.rlim_max; n += 1) { + for (int n = 3; n < static_cast<int>(lim.rlim_max); n += 1) { fds.push_back({n, 0, 0}); } poll(&fds.front(), fds.size(), 0); |