fix regression due to silly casting fu.

b=225887, r=bryner, sr=alecf, a=dbaron.
This commit is contained in:
dwitte%stanford.edu 2003-11-20 21:33:50 +00:00
Родитель 84330b314d
Коммит ed13c6f5c6
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -180,7 +180,7 @@ struct nsCharTraits<PRUnichar>
for ( ; n--; ++s1, ++s2 )
{
if ( !eq(*s1, *s2) )
return to_int_type(*s1 - *s2);
return to_int_type(*s1) - to_int_type(*s2);
}
return 0;