summaryrefslogtreecommitdiff
path: root/cmdbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmdbuf.c')
-rw-r--r--cmdbuf.c6
1 files changed, 3 insertions, 3 deletions
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);