diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-22 07:09:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-22 07:09:55 +0000 |
commit | a9a081793cc84543742f91eda1949ffb8b4e0d41 (patch) | |
tree | 0cf93e5f469a3956c4f67e609583ef5e82d66f7c /bignum.c | |
parent | 929223e720abf8166cc44c1cfd126b6c00aa9eea (diff) |
* bignum.c (rb_big_lshift, rb_big_rshift, rb_big_aref): removed excess
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1367,7 +1367,7 @@ bigdivrem(x, y, divp, modp) dd = 0; q = yds[ny-1]; - while ((q & (1<<(BITSPERDIG-1))) == 0) { + while ((q & (1U<<(BITSPERDIG-1))) == 0) { q <<= 1; dd++; } @@ -2012,7 +2012,7 @@ rb_big_lshift(x, y) if (!NIL_P(t)) return t; neg = 1; } - shift = big2ulong(y, "long", Qtrue); + shift = big2ulong(y, "long"); break; } y = rb_to_int(y); @@ -2081,7 +2081,7 @@ rb_big_rshift(x, y) else { neg = 1; } - shift = big2ulong(y, "long", Qtrue); + shift = big2ulong(y, "long"); break; } y = rb_to_int(y); @@ -2171,7 +2171,7 @@ rb_big_aref(x, y) out_of_range: return RBIGNUM(x)->sign ? INT2FIX(0) : INT2FIX(1); } - shift = big2ulong(y, "long", Qfalse); + shift = big2ulong(y, "long"); } else { i = NUM2LONG(y); |