* kjs/DateMath.cpp:
(KJS::dateToDayInYear):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16793
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-10-05 Kevin McCullough <KMcCullough@apple.com>
+
+ build fix
+
+ * kjs/DateMath.cpp:
+ (KJS::dateToDayInYear):
+
2006-10-05 Mark Rowe <bdash@webkit.org>
Reviewed by maculloch.
static int dateToDayInYear(int year, int month, int day)
{
- year += static_cast<int>(floor(month / 12));
+ year += static_cast<int>(floor(month / 12.0));
month = static_cast<int>(fmod(month, 12.0));
if (month < 0)