mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
refactor: reduce number of explicit char casts (#16077)
* refactor: reduce number of explicit char casts
This commit is contained in:
@@ -872,7 +872,7 @@ static void add_pack_start_dir(char_u *fname, void *cookie)
|
||||
continue;
|
||||
}
|
||||
STRLCPY(buf, fname, MAXPATHL);
|
||||
xstrlcat((char *)buf, start_pat[i], sizeof buf);
|
||||
STRLCAT(buf, start_pat[i], sizeof buf);
|
||||
if (pack_has_entries(buf)) {
|
||||
add_pack_dir_to_rtp(buf, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user