From d7cc16357083c4fc4271e25fb36c4fbaee99e0f1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 14 Aug 2018 20:18:26 +0200 Subject: [PATCH] patch 8.1.0285: compiler warning for conversion Problem: Compiler warning for conversion. Solution: Add a type cast. (Mike Williams) --- src/ex_getln.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ex_getln.c b/src/ex_getln.c index ba6fe729c7..d200eab78a 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 18051faa37..876fcf3358 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, /**/