summaryrefslogtreecommitdiff
path: root/spec/ruby/core/basicobject/basicobject_spec.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-07-08 09:58:48 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-07-08 09:58:48 +0900
commitecfc09d053dc4bc9d413d94cd10b64aa05e4015b (patch)
treede8af2de3f091ed4da29562f0f26b5b5108e1e27 /spec/ruby/core/basicobject/basicobject_spec.rb
parentb06a4dc6f1fbef12ff7b4d57e7b5f12fd1f6cb5b (diff)
gc.c: Cast int literal "1" to bits_t
... because shifting by more than 31 bits has undefined behavior (depending upon platform). Coverity Scan found this issue.
Diffstat (limited to 'spec/ruby/core/basicobject/basicobject_spec.rb')
0 files changed, 0 insertions, 0 deletions