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 | |
| 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
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | numeric.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Dec 8 23:39:52 2009 NAKAMURA Usaku <usa@ruby-lang.org> + + * numeric.c (flo_eq): supress a warning on VC++ for x64. + Tue Dec 8 16:19:05 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/rubygems: update to 1.3.5. @@ -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); |
