Fixed cast bug
git-svn-id: svn://10.0.0.236/trunk@111386 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e3c0cb6448
commit
ed38273505
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user