From ec9fbf3939be00d70637e59dd34cad259ce62eef Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 12 Jul 2000 07:33:34 +0000 Subject: [PATCH] matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bignum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bignum.c b/bignum.c index 1861b85d58..9d58e69f9e 100644 --- a/bignum.c +++ b/bignum.c @@ -787,7 +787,7 @@ bigdivrem(x, y, divp, modp) yds = BDIGITS(y); if (ny == 0 && yds[0] == 0) rb_num_zerodiv(); if (nx < ny || nx == ny && BDIGITS(x)[nx - 1] < BDIGITS(y)[ny - 1]) { - if (divp) *divp = INT2FIX(0); + if (divp) *divp = rb_int2big(0); if (modp) *modp = x; return; }