0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.2577: compiler warning for type conversion

Problem:    Compiler warning for type conversion.
Solution:   Add a typecast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2021-03-08 19:04:05 +01:00
parent 608d78fb45
commit 9355ae4149
2 changed files with 3 additions and 1 deletions

View File

@@ -1034,7 +1034,7 @@ win_line(
p_extra_free = alloc(MAX_MCO * fdc + 1);
if (p_extra_free != NULL)
{
n_extra = fill_foldcolumn(p_extra_free, wp,
n_extra = (int)fill_foldcolumn(p_extra_free, wp,
FALSE, lnum);
p_extra_free[n_extra] = NUL;
p_extra = p_extra_free;