diff src/ex_getln.c @ 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 116a01c73fd8
children 35e7ead872db
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;