summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-01 05:56:51 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-01 05:56:51 +0000
commitf9269809027806f3b41ad73207721bd8adb35650 (patch)
tree6f4a02fbef7b416c848dcc9cfdb287cb034e5d9f /process.c
parentcd3445ca6e9dde2603d5a6787274b5baac487bdb (diff)
* io.c (nogvl_io_cntl): rb_cloexec_fcntl_dupfd's 2nd argument is int.
* process.c (move_fds_to_avoid_crash): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index b0f7ae85a2..069fcc7efe 100644
--- a/process.c
+++ b/process.c
@@ -2499,7 +2499,7 @@ proc_syswait(VALUE pid)
static int
move_fds_to_avoid_crash(int *fdp, int n, VALUE fds)
{
- long min = 0;
+ int min = 0;
int i;
for (i = 0; i < n; i++) {
int ret;