summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-11 18:16:15 +0900
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-03-30 18:38:42 +1300
commit67f60ebb6494ca6d67d8797625b9c3af9b4135f5 (patch)
tree2433ccab0589347e256f9da540c4aa0268de1259
parentc05dd7dc85311d1a62204aff5f633e758efae949 (diff)
Fixed a compilation error
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4173
-rw-r--r--scheduler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler.c b/scheduler.c
index 055c5d4..a3de613 100644
--- a/scheduler.c
+++ b/scheduler.c
@@ -113,7 +113,7 @@ rb_fiber_scheduler_make_timeout(struct timeval *timeout)
VALUE
rb_fiber_scheduler_timeout_raise(VALUE scheduler, VALUE timeout)
{
- return rb_check_funcall(scheduler, id_timeout_raise, 1, timeout);
+ return rb_check_funcall(scheduler, id_timeout_raise, 1, &timeout);
}
VALUE