diff options
| author | Yuta Saito <kateinoigakukun@gmail.com> | 2021-12-02 13:20:13 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-12-02 15:53:43 +0900 |
| commit | 6721ce1cc4035fe5508c13d0151f748e8b8e8cf1 (patch) | |
| tree | da53c746c87abfadd66811adf279743300f13397 /spec/ruby/core/array | |
| parent | a7d0c2c4489f94a0087646040afccb66cec4e7d7 (diff) | |
Cast tv_usec to int32_t to fit in tv_nsec
suseconds_t, which is the type of tv_usec, may be defined with a longer
size type than tv_nsec's type (long). So usec to nsec conversion needs
an explicit casting.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5200
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions
