From: Bram Moolenaar Date: Tue, 14 Aug 2018 18:18:26 +0000 (+0200) Subject: patch 8.1.0285: compiler warning for conversion X-Git-Tag: v8.1.0285 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7cc16357083c4fc4271e25fb36c4fbaee99e0f1;p=vim 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 index ba6fe729c..d200eab78 100644 --- 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 index 18051faa3..876fcf335 100644 --- a/src/version.c +++ b/src/version.c @@ -794,6 +794,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 285, /**/ 284, /**/