Project

General

Profile

« Previous | Next » 

Revision 1f6a7c18

Added by naruse (Yui NARUSE) about 14 years ago

  • ext/date/date_core.c (DAY_IN_NANOSECONDS): refix: 31438.
    check with LONG_MAX and cast as long; without this the calculation
    will be done as int and overflow.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e