diff options
Diffstat (limited to 'bin/ksh/vi.c')
-rw-r--r-- | bin/ksh/vi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/vi.c b/bin/ksh/vi.c index da682c87b54..0bf16919fd7 100644 --- a/bin/ksh/vi.c +++ b/bin/ksh/vi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vi.c,v 1.52 2018/01/04 19:06:16 millert Exp $ */ +/* $OpenBSD: vi.c,v 1.53 2018/01/06 16:28:58 millert Exp $ */ /* * vi command editing @@ -238,7 +238,7 @@ x_vi(char *buf, size_t len) x_putc('\r'); x_putc('\n'); x_flush(); - if (c == -1 || len <= es->linelen) + if (c == -1 || len <= (size_t)es->linelen) return -1; if (es->cbuf != buf) |