зеркало из https://github.com/mozilla/pjs.git
fix regression due to silly casting fu.
b=225887, r=bryner, sr=alecf, a=dbaron.
This commit is contained in:
Родитель
84330b314d
Коммит
ed13c6f5c6
|
@ -180,7 +180,7 @@ struct nsCharTraits<PRUnichar>
|
||||||
for ( ; n--; ++s1, ++s2 )
|
for ( ; n--; ++s1, ++s2 )
|
||||||
{
|
{
|
||||||
if ( !eq(*s1, *s2) )
|
if ( !eq(*s1, *s2) )
|
||||||
return to_int_type(*s1 - *s2);
|
return to_int_type(*s1) - to_int_type(*s2);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче