aboutsummaryrefslogtreecommitdiffstats
path: root/ruby-runner.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-07-15 14:02:45 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-07-15 14:08:17 +0900
commit5353401c254a926426d9a289606fad18a755fcd2 (patch)
tree26cd75d55061070bbc1464d3247015da9bc03dd4 /ruby-runner.c
parent62f34bd1fe9630b0e760860017955cec2d5fbd0a (diff)
downloadruby-5353401c254a926426d9a289606fad18a755fcd2.tar.gz
thread.c (rb_thread_shield_waiting_{inc,dec}): prefer long to int
`(unsigned int)(THREAD_SHIELD_WAITING_MASK>>THREAD_SHIELD_WAITING_SHIFT)` is 0xffffffff, and w > 0xffffffff is always true. Coverity Scan pointed out this issue.
Diffstat (limited to 'ruby-runner.c')
0 files changed, 0 insertions, 0 deletions