ruby-changes:29068
From: mrkn <ko1@a...>
Date: Fri, 7 Jun 2013 09:30:05 +0900 (JST)
Subject: [ruby-changes:29068] mrkn:r41120 (trunk): * bignum.c (rb_int_import): explicitly casting BDIGIT_DBL to BDIGIT
mrkn 2013-06-07 09:29:43 +0900 (Fri, 07 Jun 2013) New Revision: 41120 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41120 Log: * bignum.c (rb_int_import): explicitly casting BDIGIT_DBL to BDIGIT to prevent warning. Modified files: trunk/ChangeLog trunk/bignum.c Index: ChangeLog =================================================================== --- ChangeLog (revision 41119) +++ ChangeLog (revision 41120) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Jun 7 09:29:33 2013 Kenta Murata <mrkn@c...> + + * bignum.c (rb_int_import): explicitly casting BDIGIT_DBL to BDIGIT + to prevent warning. + Fri Jun 7 07:29:33 2013 Tanaka Akira <akr@f...> * internal.h (rb_int_export): countp argument is split into Index: bignum.c =================================================================== --- bignum.c (revision 41119) +++ bignum.c (revision 41120) @@ -914,7 +914,7 @@ rb_int_import(int sign, const void *word https://github.com/ruby/ruby/blob/trunk/bignum.c#L914 wordp += word_step; } if (dd) - *dp++ = dd; + *dp++ = (BDIGIT)dd; while (dp < de) *dp++ = 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/