From 156348af10cecf4a1e76f3f04f463a9d8f00d00a Mon Sep 17 00:00:00 2001 From: Xin LI Date: Fri, 14 Aug 2026 22:47:57 -0700 Subject: Vendor import of less v704. --- cmdbuf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmdbuf.c') diff --git a/cmdbuf.c b/cmdbuf.c index 1c3b3d461ad9..9f13473eba03 100644 --- a/cmdbuf.c +++ b/cmdbuf.c @@ -113,8 +113,8 @@ static struct mlist *curr_mlist = NULL; static int curr_cmdflags; static char cmd_mbc_buf[MAX_UTF_CHAR_LEN]; -static int cmd_mbc_buf_len; -static int cmd_mbc_buf_index; +static size_t cmd_mbc_buf_len; +static size_t cmd_mbc_buf_index; /* @@ -1330,7 +1330,7 @@ static int cmd_uchar(char c, size_t *plen) goto retry; } - *plen = (size_t) cmd_mbc_buf_len; /*{{type-issue}}*/ + *plen = cmd_mbc_buf_len; cmd_mbc_buf_len = 0; } return (CC_PASS); -- cgit v1.3