Mercurial > vim
diff src/proto/usercmd.pro @ 22715:8968ed4ba4ba v8.2.1906
patch 8.2.1906: warning for signed/unsigned
Commit: https://github.com/vim/vim/commit/a360dbe3b63bdca93bbf8cc431578a446e8ce14c
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 26 18:46:53 2020 +0100
patch 8.2.1906: warning for signed/unsigned
Problem: Warning for signed/unsigned.
Solution: Use size_t instead of int. (Mike Williams)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 26 Oct 2020 19:00:04 +0100 |
parents | f2bfee4ac356 |
children | 05f9e8f2016c |
line wrap: on
line diff
--- a/src/proto/usercmd.pro +++ b/src/proto/usercmd.pro @@ -15,6 +15,6 @@ void ex_comclear(exarg_T *eap); void uc_clear(garray_T *gap); void ex_delcommand(exarg_T *eap); size_t add_win_cmd_modifers(char_u *buf, cmdmod_T *cmod, int *multi_mods); -int produce_cmdmods(char_u *buf, cmdmod_T *cmod, int quote); +size_t produce_cmdmods(char_u *buf, cmdmod_T *cmod, int quote); void do_ucmd(exarg_T *eap); /* vim: set ft=c : */