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 /src/ex_getln.c | |
parent | 2f6a346a4cd2d5bdd6dc9b3209ebce7b6340221d (diff) | |
download | vim-git-d7cc16357083c4fc4271e25fb36c4fbaee99e0f1.tar.gz |
patch 8.1.0285: compiler warning for conversionv8.1.0285
Problem: Compiler warning for conversion.
Solution: Add a type cast. (Mike Williams)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |