summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-13 04:15:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-13 04:15:06 +0000
commitb516046d8e610e37186023fed109c05d51650a2e (patch)
tree8c496b43c5f46174d47d587f054ad3d6b2ffd035 /bignum.c
parentdf3ae4e2b57431a6d2e85e97c997d9b96b4dcb41 (diff)
* bignum.c (bigmul1_single): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;
}