]> granicus.if.org Git - vim/commitdiff
patch 8.1.0285: compiler warning for conversion v8.1.0285
authorBram Moolenaar <Bram@vim.org>
Tue, 14 Aug 2018 18:18:26 +0000 (20:18 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 14 Aug 2018 18:18:26 +0000 (20:18 +0200)
Problem:    Compiler warning for conversion.
Solution:   Add a type cast. (Mike Williams)

src/ex_getln.c
src/version.c

index ba6fe729c74ce864dae13dca4aab410855cbc472..d200eab78a9b9a4b5d2dbdc2cf628fff85fc8e33 100644 (file)
@@ -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;
index 18051faa3773d88867c7c9bfc8b2e8c4b00b7674..876fcf335851a75f7a81bac01c2a881e6e840a73 100644 (file)
@@ -794,6 +794,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    285,
 /**/
     284,
 /**/