alloc() already accepts size_t, so (int) casts on size_t values are redundant and could theoretically cause truncation on values > INT_MAX. Remove the casts and change alloc_cmdbuff() and list_alloc_with_items() signatures from int to size_t to match.
Closes #19888
https://github.com/vim/vim/pull/19889
(8 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@mattn pushed 1 commit.
—
View it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()