diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-14 20:18:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-14 20:18:26 +0200 |
commit | d7cc16357083c4fc4271e25fb36c4fbaee99e0f1 (patch) | |
tree | fcdd8651ce3146410b21a769cd3060cd27449788 | |
parent | 2f6a346a4cd2d5bdd6dc9b3209ebce7b6340221d (diff) |
patch 8.1.0285: compiler warning for conversionv8.1.0285
Problem: Compiler warning for conversion.
Solution: Add a type cast. (Mike Williams)
-rw-r--r-- | src/ex_getln.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 285, +/**/ 284, /**/ 283, |