ruby-changes:61643
From: Nobuyoshi <ko1@a...>
Date: Tue, 9 Jun 2020 22:28:18 +0900 (JST)
Subject: [ruby-changes:61643] cbb9935fc4 (master): Use the dedicated conversion macro
https://git.ruby-lang.org/ruby.git/commit/?id=cbb9935fc4 From cbb9935fc40b67d5f41ed6cdef1fa11d4445fd77 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 9 Jun 2020 22:25:46 +0900 Subject: Use the dedicated conversion macro diff --git a/process.c b/process.c index bb30a86..5e47a51 100644 --- a/process.c +++ b/process.c @@ -4938,7 +4938,7 @@ rb_f_sleep(int argc, VALUE *argv, VALUE _) https://github.com/ruby/ruby/blob/trunk/process.c#L4938 time_t end = time(0) - beg; - return INT2FIX(end); + return TIMET2NUM(end); } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/