summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-07 00:29:43 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-07 00:29:43 +0000
commit3ebd1ff022f08e254f93c0ccfeacbff780726083 (patch)
tree9d6072e940c0432452e6a46042198054deb021ae /bignum.c
parenta8c4a952767d0f554b3ac4ea999dbeb5f54ae6eb (diff)
* bignum.c (rb_int_import): explicitly casting BDIGIT_DBL to BDIGIT
to prevent warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41120 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 7042fecec3..159cded92b 100644
--- a/bignum.c
+++ b/bignum.c
@@ -914,7 +914,7 @@ rb_int_import(int sign, const void *words, size_t wordcount, int wordorder, size
wordp += word_step;
}
if (dd)
- *dp++ = dd;
+ *dp++ = (BDIGIT)dd;
while (dp < de)
*dp++ = 0;