[前][次][番号順一覧][スレッド一覧]

ruby-changes:13139

From: nobu <ko1@a...>
Date: Sun, 13 Sep 2009 13:15:15 +0900 (JST)
Subject: [ruby-changes:13139] Ruby:r24890 (trunk): * bignum.c (bigmul1_single): suppress a warning.

nobu	2009-09-13 13:15:06 +0900 (Sun, 13 Sep 2009)

  New Revision: 24890

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24890

  Log:
    * bignum.c (bigmul1_single): suppress a warning.

  Modified files:
    trunk/bignum.c

Index: bignum.c
===================================================================
--- bignum.c	(revision 24889)
+++ bignum.c	(revision 24890)
@@ -1758,7 +1758,7 @@
 
     n = (BDIGIT_DBL)xds[0] * yds[0];
     zds[0] = BIGLO(n);
-    zds[1] = BIGDN(n);
+    zds[1] = (BDIGIT)BIGDN(n);
 
     return z;
 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]