0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

patch 9.1.1266: MS-Windows: type conversion warnings

Problem:  MS-Windows: type conversion warnings
Solution: cast the variables (Yegappan Lakshmanan)

closes: #17027

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yegappan Lakshmanan
2025-04-01 20:38:37 +02:00
committed by Christian Brabandt
parent 2f4aa50c91
commit 7b6add0b4a
6 changed files with 12 additions and 9 deletions

View File

@@ -1166,7 +1166,8 @@ vim_findfile(void *search_ctx_arg)
if (*suf == NUL)
break;
file_path.length = len + copy_option_part(&suf,
file_path.string + len, MAXPATHL - len, ",");
file_path.string + len,
(int)(MAXPATHL - len), ",");
}
}
}