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:
parent
101d56ddca
commit
cbb9935fc4
1 changed files with 1 additions and 1 deletions
|
@ -4938,7 +4938,7 @@ rb_f_sleep(int argc, VALUE *argv, VALUE _)
|
|||
|
||||
time_t end = time(0) - beg;
|
||||
|
||||
return INT2FIX(end);
|
||||
return TIMET2NUM(end);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue