mirror of
https://github.com/neovim/neovim.git
synced 2026-11-03 20:57:19 -06:00
Problem: transstr() has comments that do not add anything to what the
code says, and it casts a length to int only to cast it back to
size_t.
Solution: Drop the comments and keep the length in a size_t
(Hirohito Higashi).
related: vim/vim#20925
closes: vim/vim#21026
https://github.com/vim/vim/commit/fe65307d49b482ffdd4c81ce46352ee091e2c67b
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>