mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 399853 - Fix signed/unsigned mismatch warnings. r+sr=tor,a1.9=beltzner
This commit is contained in:
parent
a2bc45835d
commit
7a74a4e3a2
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user