From 57c75615b9934230e317fd6b84296d514e919a1f Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 14 Apr 2000 14:35:50 +0000 Subject: 000414 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bignum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bignum.c') diff --git a/bignum.c b/bignum.c index e411e93f1b..c4f181fc70 100644 --- a/bignum.c +++ b/bignum.c @@ -69,7 +69,7 @@ rb_big_2comp(x) /* get 2's complement */ for (i=1; ilen; i++) { if (ds[i] != 0) return; } - REALLOC_N(BDIGITS(x), USHORT, RBIGNUM(x)->len++); + REALLOC_N(RBIGNUM(x)->digits, USHORT, RBIGNUM(x)->len++); ds = BDIGITS(x); ds[RBIGNUM(x)->len-1] = 1; } -- cgit v1.2.3