зеркало из https://github.com/mozilla/pjs.git
Bug 588640 - comparison between signed and unsigned integer expressions in nsAttrValue::AtomAt; r=Olli.Pettay approval2.0=jst
This commit is contained in:
Родитель
4130cb651c
Коммит
22f19f030f
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче