diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-29 18:59:18 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-29 18:59:18 +0000 |
commit | 3543491916235f515f0d7c283b57263177d6b817 (patch) | |
tree | 5243a8fec4493e54426344df060cc8492802d03f /time.c | |
parent | 34f182f7b28b4b4f8c69d3563cd77737867814c1 (diff) | |
download | ruby-3543491916235f515f0d7c283b57263177d6b817.tar.gz |
* time.c (rb_time_unmagnify_to_float): should cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -755,7 +755,7 @@ rb_time_unmagnify_to_float(wideval_t w) if (c * b == a) { return DBL2NUM((double)c); } - v = DBL2NUM(FIXWV2WINT(w)); + v = DBL2NUM((double)FIXWV2WINT(w)); return quo(v, DBL2NUM(TIME_SCALE)); } #endif |