mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
Wconversion: Fix warnings in file_search.c.
This commit is contained in:
@@ -2116,7 +2116,8 @@ int do_in_runtimepath(char_u *name, int all, DoInRuntimepathCB callback,
|
||||
np = name;
|
||||
while (*np != NUL && (all || !did_one)) {
|
||||
/* Append the pattern from "name" to buf[]. */
|
||||
copy_option_part(&np, tail, (int)(MAXPATHL - (tail - buf)),
|
||||
assert(MAXPATHL >= (tail - buf));
|
||||
copy_option_part(&np, tail, (size_t)(MAXPATHL - (tail - buf)),
|
||||
"\t ");
|
||||
|
||||
if (p_verbose > 2) {
|
||||
|
Reference in New Issue
Block a user