summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-04 15:20:17 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-04 15:20:17 +0000
commita99d017db7c3019827b843d1ae87830bd64ad193 (patch)
tree6762ec30680932ce25d726a1726b03dcfec7b2f5
parent1096be5ac6540c204047c7c9e6d58bfcef90e167 (diff)
downloadruby-a99d017db7c3019827b843d1ae87830bd64ad193.tar.gz
forgot to add INT2FIX (sorry!)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index a1154bda8e..af39cffea4 100644
--- a/process.c
+++ b/process.c
@@ -3298,7 +3298,7 @@ handle_fork_error(int err, int *status, int *ep, volatile int *try_gc_p)
return 0;
}
else {
- rb_protect(rb_thread_sleep_that_takes_VALUE_as_sole_argument, 1, &state);
+ rb_protect(rb_thread_sleep_that_takes_VALUE_as_sole_argument, INT2FIX(1), &state);
if (status) *status = state;
if (!state) return 0;
}