diff options
Diffstat (limited to 'raul/Process.hpp')
-rw-r--r-- | raul/Process.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/Process.hpp b/raul/Process.hpp index 7e1c5a0..61fb501 100644 --- a/raul/Process.hpp +++ b/raul/Process.hpp @@ -50,7 +50,7 @@ public: struct rlimit max_fds; getrlimit(RLIMIT_NOFILE, &max_fds); for (rlim_t fd = 3; fd < max_fds.rlim_cur; ++fd) { - close(fd); + close(static_cast<int>(fd)); } // Fork child |