mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 13:04:22 +00:00
A plain `char` may be `signed` or `unsigned` depending on the implementation. Also, bitwise ORing of `signed` values is not guaranteed to be `signed`. To ensure portability, should logical-OR each comparison, but casting to `signed char` is usually sufficient. https://github.com/ruby/json/commit/8ad744c532