Changeset 56427 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Mar 23, 2010, 4:31:34 PM (15 years ago)
Author:
[email protected]
Message:

Build fix.

  • runtime/ArrayPrototype.cpp: (JSC::arrayProtoFuncSplice): Fixed a typo - length doesn't need to be converted with toInteger().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/ArrayPrototype.cpp

    r56425 r56427  
    512512        return jsUndefined();
    513513
    514     unsigned length = thisObj->get(exec, exec->propertyNames().length).toInteger(exec);
     514    unsigned length = thisObj->get(exec, exec->propertyNames().length).toUInt32(exec);
    515515    double relativeBegin = args.at(0).toInteger(exec);
    516516    unsigned begin;
Note: See TracChangeset for help on using the changeset viewer.