Bug 562501 - comparison between signed and unsigned integer expressions in txNodeSorter::sortNodeSet, r=sicking

This commit is contained in:
timeless@mozdev.org 2010-04-28 17:12:00 -07:00
Родитель 83c77802ea
Коммит ba7c07c685
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -253,7 +253,7 @@ txNodeSorter::compareNodes(const void* aIndexA, const void* aIndexB,
TxObject** sortValuesB = sortData->mSortValues +
indexB * sortData->mNodeSorter->mNKeys;
int i;
unsigned int i;
// Step through each key until a difference is found
for (i = 0; i < sortData->mNodeSorter->mNKeys; ++i) {
SortKey* key = (SortKey*)iter.next();

Просмотреть файл

@ -86,7 +86,7 @@ private:
static PRBool calcSortValue(TxObject*& aSortValue, SortKey* aKey,
SortData* aSortData, PRUint32 aNodeIndex);
txList mSortKeys;
int mNKeys;
unsigned int mNKeys;
};
#endif