chiark / gitweb /
Switch to unsigned types for holding Unicode code points
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 18 Nov 2025 22:33:13 +0000 (22:33 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 13 Jan 2026 21:55:10 +0000 (21:55 +0000)
commit58496743a8523ac0e66bbb441f41d1bb9d804b45
treebf3fb015304804de9a2f740d74eb2ab28317089c
parent383a376372a27dbd1f905c8d08f936f13521d355
Switch to unsigned types for holding Unicode code points

We were only using negative numbers for the "no Unicode mapping"
constant, and even there it was mostly cast to unsigned before we used
it (because it needed to sort last).  So just using an unsigned type
throughout seems to be a bit cleaner.  It will also make me less dubious
about packing extra information in when I want to support variation
selectors.
bedstead.c