diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-21 06:28:41 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-21 06:28:41 +0000 |
| commit | d34e344d3bfc6d88656d1dbcfcfc35c271f157cf (patch) | |
| tree | 7bfa8884513b452aa59cb755702d9c9206f5ca4f /ChangeLog | |
| parent | d586a664ee07169dfd218aebb963f3114663e68d (diff) | |
| download | ruby-d34e344d3bfc6d88656d1dbcfcfc35c271f157cf.tar.gz ruby-d34e344d3bfc6d88656d1dbcfcfc35c271f157cf.tar.xz ruby-d34e344d3bfc6d88656d1dbcfcfc35c271f157cf.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/branches/ruby_1_8@9432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Fri Oct 21 15:27:17 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * 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] + Thu Oct 20 09:37:15 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> * lib/mkmf.rb (create_makefile): Borland make seems not to allow |
