summaryrefslogtreecommitdiffstats
path: root/ruby.h
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-21 06:28:41 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-21 06:28:41 +0000
commitfb3bd70a0c39a3c8287958cbf2c4cd6d05805be5 (patch)
treec1062a7705ae74de45a4751cf33c80ec1a58b75c /ruby.h
parent8159660e68af73ef644a3262a2af002308d63f5c (diff)
downloadruby-fb3bd70a0c39a3c8287958cbf2c4cd6d05805be5.tar.gz
ruby-fb3bd70a0c39a3c8287958cbf2c4cd6d05805be5.tar.xz
ruby-fb3bd70a0c39a3c8287958cbf2c4cd6d05805be5.zip
* bignum.c (bignew_1): convertion from `int' to `char' discards
upper bits, (ie. (char)0xff00 -> 0) so it's better to test if nonzero and set 0 or 1 instead of simply casting ... as a flag usage. (but I believe this won't cause actual bug in current implementation) [ruby-dev:27055] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
0 files changed, 0 insertions, 0 deletions