зеркало из https://github.com/mozilla/gecko-dev.git
Bug 588640 - comparison between signed and unsigned integer expressions in nsAttrValue::AtomAt; r=Olli.Pettay approval2.0=jst
This commit is contained in:
Родитель
4751e14e59
Коммит
eb2d355feb
|
@ -525,7 +525,7 @@ nsIAtom*
|
|||
nsAttrValue::AtomAt(PRInt32 aIndex) const
|
||||
{
|
||||
NS_PRECONDITION(aIndex >= 0, "Index must not be negative");
|
||||
NS_PRECONDITION(GetAtomCount() > aIndex, "aIndex out of range");
|
||||
NS_PRECONDITION(GetAtomCount() > PRUint32(aIndex), "aIndex out of range");
|
||||
|
||||
if (BaseType() == eAtomBase) {
|
||||
return GetAtomValue();
|
||||
|
|
Загрузка…
Ссылка в новой задаче