# HG changeset patch # User Christian Brabandt # Date 1534271406 -7200 # Node ID 2b2d7ae42fb8b8bae0ef7d00104a99a4c3d3fe84 # Parent e716a0dc84f2d4ef0b07b4a1a84a46ddad551880 patch 8.1.0285: compiler warning for conversion commit https://github.com/vim/vim/commit/d7cc16357083c4fc4271e25fb36c4fbaee99e0f1 Author: Bram Moolenaar 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) diff --git a/src/ex_getln.c b/src/ex_getln.c --- 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; diff --git a/src/version.c b/src/version.c --- 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,