mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
fix regression due to silly casting fu.
b=225887, r=bryner, sr=alecf, a=dbaron.
This commit is contained in:
parent
8e8cb48180
commit
857bdeb8cf
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user