diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-08 14:41:17 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-08 14:41:17 +0000 |
commit | 457dfc92eae2a5a50a390994a9f49ecb941ff49a (patch) | |
tree | 3d6571b5052f6d5546ca5629a16109de4212c4b8 /numeric.c | |
parent | 79d365691b4ae1ebfd7b0a93a0ee481c0ccbfb89 (diff) | |
download | ruby-457dfc92eae2a5a50a390994a9f49ecb941ff49a.tar.gz ruby-457dfc92eae2a5a50a390994a9f49ecb941ff49a.tar.xz ruby-457dfc92eae2a5a50a390994a9f49ecb941ff49a.zip |
* numeric.c (flo_eq): supress a warning on VC++ for x64.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -904,7 +904,7 @@ flo_eq(VALUE x, VALUE y) switch (TYPE(y)) { case T_FIXNUM: - b = FIX2LONG(y); + b = (double)FIX2LONG(y); break; case T_BIGNUM: b = rb_big2dbl(y); |