diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-08 19:04:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-08 19:04:05 +0100 |
commit | 9355ae41497cbcce58ddd79f9125eb3e9dfe0a43 (patch) | |
tree | 654fb8b4a4a9c23a0689e8dfeba7b9a311084c1b /src | |
parent | 608d78fb45077fbaf6dc880b754a1d8a54ac9999 (diff) | |
download | vim-git-9355ae41497cbcce58ddd79f9125eb3e9dfe0a43.tar.gz |
patch 8.2.2577: compiler warning for type conversionv8.2.2577
Problem: Compiler warning for type conversion.
Solution: Add a typecast. (Mike Williams)
Diffstat (limited to 'src')
-rw-r--r-- | src/drawline.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c index 03a229eae..fcb996b4b 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -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; diff --git a/src/version.c b/src/version.c index 5cbf28770..f7c2171de 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2577, +/**/ 2576, /**/ 2575, |