changeset 24071:d36adba14e44 v8.2.2577

patch 8.2.2577: compiler warning for type conversion Commit: https://github.com/vim/vim/commit/9355ae41497cbcce58ddd79f9125eb3e9dfe0a43 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 8 19:04:05 2021 +0100 patch 8.2.2577: compiler warning for type conversion Problem: Compiler warning for type conversion. Solution: Add a typecast. (Mike Williams)
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 Mar 2021 19:15:03 +0100
parents 675369665604
children 25305dfc4c92
files src/drawline.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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,