diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bignum.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Jun 7 09:29:33 2013 Kenta Murata <mrkn@cookpad.com> + + * bignum.c (rb_int_import): explicitly casting BDIGIT_DBL to BDIGIT + to prevent warning. + Fri Jun 7 07:29:33 2013 Tanaka Akira <akr@fsij.org> * internal.h (rb_int_export): countp argument is split into @@ -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; |