зеркало из https://github.com/mozilla/pjs.git
Fix warning. Bug 347705, no review.
This commit is contained in:
Родитель
36fa848b3e
Коммит
6c477d95dc
|
@ -3607,7 +3607,7 @@ PRBool CSSParserImpl::TranslateDimension(nsresult& aErrorCode,
|
||||||
nsCSSUnit units;
|
nsCSSUnit units;
|
||||||
PRInt32 type = 0;
|
PRInt32 type = 0;
|
||||||
if (!aUnit.IsEmpty()) {
|
if (!aUnit.IsEmpty()) {
|
||||||
PRInt32 i;
|
PRUint32 i;
|
||||||
for (i = 0; i < NS_ARRAY_LENGTH(UnitData); ++i) {
|
for (i = 0; i < NS_ARRAY_LENGTH(UnitData); ++i) {
|
||||||
if (aUnit.LowerCaseEqualsASCII(UnitData[i].name,
|
if (aUnit.LowerCaseEqualsASCII(UnitData[i].name,
|
||||||
UnitData[i].length)) {
|
UnitData[i].length)) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче