diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-03 20:07:10 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-03 20:07:10 +0000 |
commit | 1564ed2f0a54c16fb054304edd6514f2fce5ac30 (patch) | |
tree | 443079f17eb9e24e8ec1465a85b5ac986f663f31 /bignum.c | |
parent | ff1a30b17f5ee8da023b8737195edb7c332eade0 (diff) | |
download | ruby-1564ed2f0a54c16fb054304edd6514f2fce5ac30.tar.gz |
* bignum.c: ruby 1.9 HEAD 64 bit warnings clean up from
<ville.mattila at stonesoft.com>. [ruby-core:08120]
* ChangeLog: remove some direct reference to mail addresses
to prevent spams.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1249,8 +1249,8 @@ bigdivrem(VALUE x, VALUE y, VALUE *divp, VALUE *modp) dd = 0; q = yds[ny-1]; - while ((q & (1<<(BITSPERDIG-1))) == 0) { - q <<= 1; + while ((q & (1UL<<(BITSPERDIG-1))) == 0) { + q <<= 1UL; dd++; } if (dd) { |