I wanted to confirm my understanding before going too far off into the
woods: Most of the uses of "unsigned" in WTFString.h should really be
"size_t", right?

http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/wtf/text/WTFString.h

For example,

unsigned length() const

should be

size_t length() const

and

size_t find(UChar c, unsigned start = 0) const

should be

size_t find(UChar c, size_t start = 0) const

(Obviously some, like "static String number(unsigned)", should stay as
unsigned.)

Thanks,
Adam
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to