0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0285: compiler warning for conversion

Problem:    Compiler warning for conversion.
Solution:   Add a type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2018-08-14 20:18:26 +02:00
parent 2f6a346a4c
commit d7cc163570
2 changed files with 3 additions and 1 deletions

View 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;