changeset 20225:eaaee0dfa435 v8.2.0668

patch 8.2.0668: compiler warning for int/size_t usage Commit: https://github.com/vim/vim/commit/7f6f56f43c48f0b7288a4edd12b59fa7335f01d3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 30 20:21:43 2020 +0200 patch 8.2.0668: compiler warning for int/size_t usage Problem: Compiler warning for int/size_t usage. Solution: Change "int" to "size_t". (Mike Williams)
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Apr 2020 20:30:04 +0200
parents e14b78c299ee
children 6ffcab677df2
files src/version.c src/vim9execute.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    668,
+/**/
     667,
 /**/
     666,
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -653,7 +653,7 @@ call_def_function(
 	    case ISN_EXECCONCAT:
 		{
 		    int	    count = iptr->isn_arg.number;
-		    int	    len = 0;
+		    size_t  len = 0;
 		    int	    pass;
 		    int	    i;
 		    char_u  *cmd = NULL;