Changeset 16793 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Oct 4, 2006, 3:57:45 PM (19 years ago)
Author:
kmccullo
Message:

build fix

  • kjs/DateMath.cpp: (KJS::dateToDayInYear):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/DateMath.cpp

    r16786 r16793  
    278278static int dateToDayInYear(int year, int month, int day)
    279279{
    280     year += static_cast<int>(floor(month / 12));
     280    year += static_cast<int>(floor(month / 12.0));
    281281
    282282    month = static_cast<int>(fmod(month, 12.0));
Note: See TracChangeset for help on using the changeset viewer.