Project

General

Profile

« Previous | Next » 

Revision 953091a4

Added by shyouhei (Shyouhei Urabe) almost 7 years ago

char is not unsigned

It seems that decades ago, ruby was written under assumption that
char is unsigned. Which is of course a false assumption. We
need to explicitly store a numeric value into an unsigned char
variable to tell we expect 0..255 value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e