summaryrefslogtreecommitdiff
path: root/include/ruby/assert.h
diff options
context:
space:
mode:
authorYuta Saito <kateinoigakukun@gmail.com>2021-12-02 13:20:13 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-12-02 15:53:43 +0900
commit6721ce1cc4035fe5508c13d0151f748e8b8e8cf1 (patch)
treeda53c746c87abfadd66811adf279743300f13397 /include/ruby/assert.h
parenta7d0c2c4489f94a0087646040afccb66cec4e7d7 (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 'include/ruby/assert.h')
0 files changed, 0 insertions, 0 deletions