summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-13 13:02:34 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-13 13:02:34 +0000
commitb4bafcb41652d3a6f3c02891603f867fa0d11d23 (patch)
tree9cb66e56fbb7e3524acc33c20a07ee078d11cd0d /bignum.c
parentf28ec8da8c08a90b19c85ceef0ee717c886d7841 (diff)
Use ny instead of RBIGNUM_LEN(y).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index d2c1e865c7..a02f4c4d99 100644
--- a/bignum.c
+++ b/bignum.c
@@ -3799,7 +3799,7 @@ bigdivrem(VALUE x, VALUE y, volatile VALUE *divp, volatile VALUE *modp)
dd = nlz(q);
q <<= dd;
if (dd) {
- tds = ALLOCV_N(BDIGIT, tmpy, RBIGNUM_LEN(y));
+ tds = ALLOCV_N(BDIGIT, tmpy, ny);
j = 0;
t2 = 0;
while (j<ny) {