changeset 14544:2b2d7ae42fb8 v8.1.0285

patch 8.1.0285: compiler warning for conversion commit https://github.com/vim/vim/commit/d7cc16357083c4fc4271e25fb36c4fbaee99e0f1 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 14 20:18:26 2018 +0200 patch 8.1.0285: compiler warning for conversion Problem: Compiler warning for conversion. Solution: Add a type cast. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Tue, 14 Aug 2018 20:30:06 +0200
parents e716a0dc84f2
children a259914eb676
files src/ex_getln.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -580,7 +580,7 @@ may_adjust_incsearch_highlighting(
     {
 	pat = last_search_pattern();
 	skiplen = 0;
-	patlen = STRLEN(pat);
+	patlen = (int)STRLEN(pat);
     }
     else
 	pat = ccline.cmdbuff + skiplen;
--- a/src/version.c
+++ b/src/version.c
@@ -795,6 +795,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    285,
+/**/
     284,
 /**/
     283,