Changeset 17015 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 12, 2006, 1:19:32 PM (19 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r17010 r17015 1 2006-10-12 Kevin McCullough <[email protected]> 2 3 Reviewed by Adam. 4 5 Build breakage fix 6 7 * kjs/DateMath.cpp: 8 (KJS::msToTM): 9 * kjs/date_object.cpp: 10 (KJS::gmtoffset): 11 1 12 2006-10-11 Kevin McCullough <[email protected]> 2 13 -
trunk/JavaScriptCore/kjs/DateMath.cpp
r17010 r17015 427 427 tm.tm_isdst = dstOff != 0.0; 428 428 429 tm.tm_gmtoff = (dstOff + getUTCOffset()) / usecPerMsec;429 tm.tm_gmtoff = static_cast<long>((dstOff + getUTCOffset()) / usecPerMsec); 430 430 tm.tm_zone = 0; 431 431 } -
trunk/JavaScriptCore/kjs/date_object.cpp
r17010 r17015 68 68 inline int gmtoffset(const tm& t) 69 69 { 70 return t.tm_gmtoff;70 return static_cast<int>(t.tm_gmtoff); 71 71 } 72 72
Note:
See TracChangeset
for help on using the changeset viewer.