0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.1906: warning for signed/unsigned

Problem:    Warning for signed/unsigned.
Solution:   Use size_t instead of int. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2020-10-26 18:46:53 +01:00
parent 4882d98339
commit a360dbe3b6
4 changed files with 6 additions and 4 deletions

View File

@@ -3530,7 +3530,7 @@ ex_disassemble(exarg_T *eap)
case ISN_CMDMOD:
{
char_u *buf;
int len = produce_cmdmods(
size_t len = produce_cmdmods(
NULL, iptr->isn_arg.cmdmod.cf_cmdmod, FALSE);
buf = alloc(len + 1);