commit | d7cc16357083c4fc4271e25fb36c4fbaee99e0f1 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Aug 14 20:18:26 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Aug 14 20:18:26 2018 +0200 |
tree | fcdd8651ce3146410b21a769cd3060cd27449788 | |
parent | 2f6a346a4cd2d5bdd6dc9b3209ebce7b6340221d [diff] [blame] |
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 ba6fe72..d200eab 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c
@@ -580,7 +580,7 @@ { pat = last_search_pattern(); skiplen = 0; - patlen = STRLEN(pat); + patlen = (int)STRLEN(pat); } else pat = ccline.cmdbuff + skiplen;