[前][次][番号順一覧][スレッド一覧]

ruby-changes:65700

From: Nobuyoshi <ko1@a...>
Date: Tue, 30 Mar 2021 14:38:53 +0900 (JST)
Subject: [ruby-changes:65700] 67f60ebb64 (master): Fixed a compilation error

https://git.ruby-lang.org/ruby.git/commit/?id=67f60ebb64

From 67f60ebb6494ca6d67d8797625b9c3af9b4135f5 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 11 Feb 2021 18:16:15 +0900
Subject: Fixed a compilation error

---
 scheduler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) https://github.com/ruby/ruby/blob/trunk/scheduler.c#L113
 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
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]