diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-10-26 18:46:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-10-26 18:46:53 +0100 |
commit | a360dbe3b63bdca93bbf8cc431578a446e8ce14c (patch) | |
tree | 617a7abad70fa0860fd889acad723f6521a7bc42 /src/usercmd.c | |
parent | 4882d983397057ea91c584c5a54aaccf15016d18 (diff) | |
download | vim-git-a360dbe3b63bdca93bbf8cc431578a446e8ce14c.tar.gz |
patch 8.2.1906: warning for signed/unsignedv8.2.1906
Problem: Warning for signed/unsigned.
Solution: Use size_t instead of int. (Mike Williams)
Diffstat (limited to 'src/usercmd.c')
-rw-r--r-- | src/usercmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usercmd.c b/src/usercmd.c index ac013300f..82b19bb04 100644 --- a/src/usercmd.c +++ b/src/usercmd.c @@ -1269,10 +1269,10 @@ add_win_cmd_modifers(char_u *buf, cmdmod_T *cmod, int *multi_mods) * Generate text for the "cmod" command modifiers. * If "buf" is NULL just return the length. */ - int + size_t produce_cmdmods(char_u *buf, cmdmod_T *cmod, int quote) { - int result = 0; + size_t result = 0; int multi_mods = 0; int i; typedef struct { |