ruby-changes:15640
From: usa <ko1@a...>
Date: Fri, 30 Apr 2010 03:59:34 +0900 (JST)
Subject: [ruby-changes:15640] Ruby:r27556 (trunk): * time.c (rb_time_unmagnify_to_float): should cast.
usa 2010-04-30 03:59:18 +0900 (Fri, 30 Apr 2010) New Revision: 27556 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27556 Log: * time.c (rb_time_unmagnify_to_float): should cast. Modified files: trunk/ChangeLog trunk/time.c Index: time.c =================================================================== --- time.c (revision 27555) +++ time.c (revision 27556) @@ -755,7 +755,7 @@ if (c * b == a) { return DBL2NUM((double)c); } - v = DBL2NUM(FIXWV2WINT(w)); + v = DBL2NUM((double)FIXWV2WINT(w)); return quo(v, DBL2NUM(TIME_SCALE)); } #endif Index: ChangeLog =================================================================== --- ChangeLog (revision 27555) +++ ChangeLog (revision 27556) @@ -1,3 +1,7 @@ +Fri Apr 30 03:59:08 2010 NAKAMURA Usaku <usa@r...> + + * time.c (rb_time_unmagnify_to_float): should cast. + Fri Apr 30 03:38:14 2010 NAKAMURA Usaku <usa@r...> * numeric.c (fix_mul): the width of fixnum is same as long's on all -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/