mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00
refactor: remove redundant char casts #15888
This commit is contained in:
@@ -412,7 +412,7 @@ char *transstr(const char *const s, bool untab)
|
||||
{
|
||||
// Compute the length of the result, taking account of unprintable
|
||||
// multi-byte characters.
|
||||
const size_t len = transstr_len((const char *)s, untab) + 1;
|
||||
const size_t len = transstr_len(s, untab) + 1;
|
||||
char *const buf = xmalloc(len);
|
||||
transstr_buf(s, buf, len, untab);
|
||||
return buf;
|
||||
|
Reference in New Issue
Block a user