summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index d823d9c..8100a1e 100644
--- a/bignum.c
+++ b/bignum.c
@@ -2010,7 +2010,6 @@ rb_big_rand(max, rand_buf)
return rb_float_new(rand_buf[0]);
}
v = bignew(len,1);
- RBIGNUM(v)->sign = RBIGNUM(max)->sign;
len--;
BDIGITS(v)[len] = BDIGITS(max)[len] * rand_buf[len];
while (len--) {