diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-19 08:04:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-19 08:04:52 +0000 |
commit | 8053b7f3b10d686dd5296f1f5093b635bef652a6 (patch) | |
tree | f8db2f445a65ee69d9fca2a5e4ceb5492112555c /bignum.c | |
parent | ec4e83ed5623edf8602dce45358c34d245314906 (diff) |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -804,7 +804,7 @@ bigdivrem(x, y, divp, modp) } RBIGNUM(z)->sign = RBIGNUM(x)->sign==RBIGNUM(y)->sign; if (!RBIGNUM(x)->sign) t2 = -(long)t2; - if (modp) *modp = rb_uint2big(t2); + if (modp) *modp = rb_int2big((long)t2); if (divp) *divp = z; return; } |