Fixed cast bug

git-svn-id: svn://10.0.0.236/trunk@111386 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waldemar%netscape.com 2002-01-05 01:27:47 +00:00
parent e3c0cb6448
commit ed38273505

View File

@ -294,7 +294,7 @@ static JSValue String_lastIndexOf(Context *cx, const JSValue& thisValue, JSValue
if (fpos >= str->size())
pos = str->size();
else
pos = (int32)(fpos);
pos = (uint32)(fpos);
}
}
pos = str->rfind(*searchStr, pos);