Bug 399853 - Fix signed/unsigned mismatch warnings. r+sr=tor,a1.9=beltzner

This commit is contained in:
longsonr@gmail.com 2008-03-18 06:17:08 -07:00
Родитель a2bc45835d
Коммит 7a74a4e3a2
3 изменённых файлов: 3 добавлений и 3 удалений

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

@ -156,7 +156,7 @@ GetUnitTypeForString(const char* unitStr)
nsCOMPtr<nsIAtom> unitAtom = do_GetAtom(unitStr);
for (int i = 0 ; i < NS_ARRAY_LENGTH(unitMap) ; i++) {
for (PRUint32 i = 0 ; i < NS_ARRAY_LENGTH(unitMap) ; i++) {
if (unitMap[i] && *unitMap[i] == unitAtom) {
return i;
}

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

@ -117,7 +117,7 @@ GetUnitTypeForString(const char* unitStr)
nsCOMPtr<nsIAtom> unitAtom = do_GetAtom(unitStr);
for (int i = 0 ; i < NS_ARRAY_LENGTH(unitMap) ; i++) {
for (PRUint32 i = 0 ; i < NS_ARRAY_LENGTH(unitMap) ; i++) {
if (unitMap[i] && *unitMap[i] == unitAtom) {
return i;
}

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

@ -124,7 +124,7 @@ nsSVGTransformList::GetConsolidationMatrix(nsIDOMSVGTransformList *transforms)
nsCOMPtr<nsIDOMSVGMatrix> temp1, temp2;
for (PRInt32 i = 0; i < count; ++i) {
for (PRUint32 i = 0; i < count; ++i) {
transforms->GetItem(i, getter_AddRefs(transform));
transform->GetMatrix(getter_AddRefs(temp1));
conmatrix->Multiply(temp1, getter_AddRefs(temp2));