mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* numeric.c (flo_eq): supress a warning on VC++ for x64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ed5d5c5829
commit
dd00d45244
2 changed files with 5 additions and 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);
|
||||
|
|
Loading…
Add table
Reference in a new issue