summaryrefslogtreecommitdiffstats
path: root/help/help_mp-pt_BR.h.charset
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-06-09 14:01:43 -0400
committeravih <avih@users.noreply.github.com>2024-06-27 19:45:21 +0300
commitea03451d1e9c53bdbb2f0c246e8652d9a82e808f (patch)
tree7c51290108d729f603787bc563970fce9f63173f /help/help_mp-pt_BR.h.charset
parent4574644b7ad79363a77c479b73f3e888e8ea6d04 (diff)
downloadmpv-master.tar.bz2
mpv-master.tar.xz
misc/natural_sort: avoid implementation-defined behavior in comparisonHEADmaster
Before a7158ceec00f14e680a885722cfe23761b4662d3, 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.
Diffstat (limited to 'help/help_mp-pt_BR.h.charset')
0 files changed, 0 insertions, 0 deletions