1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use the dedicated conversion macro

This commit is contained in:
Nobuyoshi Nakada 2020-06-09 22:25:46 +09:00
parent 101d56ddca
commit cbb9935fc4
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -4938,7 +4938,7 @@ rb_f_sleep(int argc, VALUE *argv, VALUE _)
time_t end = time(0) - beg;
return INT2FIX(end);
return TIMET2NUM(end);
}