summaryrefslogtreecommitdiffstats
path: root/raul/Process.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-16 10:30:44 +0100
committerDavid Robillard <d@drobilla.net>2017-12-16 10:30:44 +0100
commitfc22583b1174c9b5e6d0364240431eaca932440d (patch)
tree4d7ac03769a3860c07563621197825cfab14244e /raul/Process.hpp
parent4db870b2b20b0a608ec0283139056b836c5b1624 (diff)
downloadraul-fc22583b1174c9b5e6d0364240431eaca932440d.tar.gz
raul-fc22583b1174c9b5e6d0364240431eaca932440d.tar.bz2
raul-fc22583b1174c9b5e6d0364240431eaca932440d.zip
Fix various warnings
Diffstat (limited to 'raul/Process.hpp')
-rw-r--r--raul/Process.hpp2
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