diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-04-12 05:06:23 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-04-12 05:06:23 +0000 |
commit | fa590861fec271a4a6c7d888473b59976ab2cbe6 (patch) | |
tree | 831d5938bb42940c5db6c4363bd0d974ec1e32bf /bignum.c | |
parent | a60cac4e1b25f7109acea6137ad30b90855f5c90 (diff) | |
download | ruby-fa590861fec271a4a6c7d888473b59976ab2cbe6.tar.gz ruby-fa590861fec271a4a6c7d888473b59976ab2cbe6.tar.xz ruby-fa590861fec271a4a6c7d888473b59976ab2cbe6.zip |
mkmf
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ rb_big_2comp(x) /* get 2's complement */ for (i=1; i<RBIGNUM(x)->len; 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; } |