summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index cb78cd62d9..b57b56707e 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -2845,7 +2845,7 @@ ins_compl_addfrommatch()
int c;
p = compl_shown_match->cp_str;
- if (STRLEN(p) <= len) /* the match is too short */
+ if ((int)STRLEN(p) <= len) /* the match is too short */
return;
p += len;
#ifdef FEAT_MBYTE