Ignore:
Timestamp:
Mar 22, 2010, 10:39:57 AM (15 years ago)
Author:
[email protected]
Message:

<http://webkit.org/b/36431> Clean up 'int' use in UString.cpp after r54789

Reviewed by Darin Adler.

  • runtime/UString.cpp:

(JSC::UString::from): Changed argument type from 'unsigned int'
to 'unsigned' to match WebKit coding style.
(JSC::UString::find): Changed static_cast<int>() to
static_cast<unsigned>() now that this method returns unsigned.
(JSC::UString::rfind): Ditto.

  • runtime/UString.h:

(JSC::UString::from): Changed argument type from 'unsigned int'
to 'unsigned' to match WebKit coding style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/UString.h

    r55833 r56342  
    110110        static UString from(int);
    111111        static UString from(long long);
    112         static UString from(unsigned int);
     112        static UString from(unsigned);
    113113        static UString from(long);
    114114        static UString from(double);
Note: See TracChangeset for help on using the changeset viewer.