Ignore:
Timestamp:
Aug 3, 2009, 11:14:33 PM (16 years ago)
Author:
[email protected]
Message:

2009-08-03 Harald Fernengel <[email protected]>

Reviewed by NOBODY

Fix ambiguity in abs(long int) call by calling labs() instead

  • wtf/DateMath.cpp: replace call to abs() with labs()
File:
1 edited

Legend:

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

    r46692 r46746  
    847847
    848848            int sgn = (o < 0) ? -1 : 1;
    849             o = abs(o);
     849            o = labs(o);
    850850            if (*dateString != ':') {
    851851                offset = ((o / 100) * 60 + (o % 100)) * sgn;
Note: See TracChangeset for help on using the changeset viewer.