Commit 4ca9c07d authored by barraclough@apple.com's avatar barraclough@apple.com
Browse files

Add missing cast for !YARR (PPC) builds.

Reviewed by NOBODY (Build fix).

* runtime/RegExp.cpp:
(JSC::RegExp::match):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7c12bc30
2010-02-15 Gavin Barraclough <barraclough@apple.com>
Reviewed by NOBODY (Build fix).
Add missing cast for !YARR (PPC) builds.
* runtime/RegExp.cpp:
(JSC::RegExp::match):
2010-02-14 Gavin Barraclough <barraclough@apple.com>
 
Reviewed by Darin Adler.
......
......@@ -188,7 +188,7 @@ int RegExp::match(const UString& s, int startOffset, Vector<int, 32>* ovector)
if (ovector)
ovector->clear();
if (startOffset > s.size() || s.isNull())
if (static_cast<unsigned>(startOffset) > s.size() || s.isNull())
return -1;
#if ENABLE(WREC)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment