diff options
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -42,11 +42,11 @@ static VALUE bignew_1(klass, len, sign) VALUE klass; long len; - char sign; + int sign; { NEWOBJ(big, struct RBignum); OBJSETUP(big, klass, T_BIGNUM); - big->sign = sign; + big->sign = (char)sign; big->len = len; big->digits = ALLOC_N(BDIGIT, len); @@ -1112,7 +1112,7 @@ bigsub(x, y) static VALUE bigadd(x, y, sign) VALUE x, y; - char sign; + int sign; { VALUE z; BDIGIT_DBL num; |