summaryrefslogtreecommitdiff
path: root/src/ex_getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c2
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;