mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-19 08:31:23 +08:00
ea03451d1e
Before a7158ceec0, string comparision was
done with strcmp, which does unsigned comparison. The natural sort
implementation instead compares on char values.
This causes implementation-defined behavior in comparison, depending on
the signedness of char type.
Fix this by using unsigned comparison instead.