Effective programming language to build efficient, fast, reliable and safe software while maintaining simplicity
BSD 3-Clause "New" or "Revised" License
128
stars
13
forks
source link
style: avoid sign conversion in `utf16_decode` #71
Closed
vil02 closed 7 months ago
Description
The input type of
operator[]
isstd::size_t
. Using a signed type leads to sign conversion.Checklist
Screenshots (if any)
Note to reviewers
Avoid sign conversion in
utf16_decode
.