summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 23d0ecfad4..bb1051243b 100644
--- a/bignum.c
+++ b/bignum.c
@@ -1758,7 +1758,7 @@ bigmul1_single(VALUE x, VALUE y)
n = (BDIGIT_DBL)xds[0] * yds[0];
zds[0] = BIGLO(n);
- zds[1] = BIGDN(n);
+ zds[1] = (BDIGIT)BIGDN(n);
return z;
}