diff options
author | Mike Williams <mrmrdubya@gmail.com> | 2024-05-30 07:46:30 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-05-30 07:46:30 +0200 |
commit | 51024bbc1a9e298b1fb8f2e465fccb5db409551e (patch) | |
tree | 5da6ae660fbc1ab6a6f54f08741e1e6d00f1a461 /src/proto/ex_docmd.pro | |
parent | 8904d672befb496cf224f01bc042683bb6120e81 (diff) |
patch 9.1.0449: MS-Windows: Compiler warningsv9.1.0449
Problem: MS-Windows: Compiler warnings
Solution: Resolve size_t to int warnings
closes: #14874
A couple of warnings in ex_docmd.c have been resolved by modifying their
function argument types, followed by some changes in various function
call sites. This also allowed removal of some casts to cope with
size_t/int conversion.
Signed-off-by: Mike Williams <mrmrdubya@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/proto/ex_docmd.pro')
-rw-r--r-- | src/proto/ex_docmd.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/ex_docmd.pro b/src/proto/ex_docmd.pro index 3fd20b27a7..3bd7705cb4 100644 --- a/src/proto/ex_docmd.pro +++ b/src/proto/ex_docmd.pro @@ -66,8 +66,8 @@ void restore_current_state(save_state_T *sst); void ex_normal(exarg_T *eap); void exec_normal_cmd(char_u *cmd, int remap, int silent); void exec_normal(int was_typed, int use_vpeekc, int may_use_terminal_loop); -int find_cmdline_var(char_u *src, int *usedlen); -char_u *eval_vars(char_u *src, char_u *srcstart, int *usedlen, linenr_T *lnump, char **errormsg, int *escaped, int empty_is_error); +int find_cmdline_var(char_u *src, size_t *usedlen); +char_u *eval_vars(char_u *src, char_u *srcstart, size_t *usedlen, linenr_T *lnump, char **errormsg, int *escaped, int empty_is_error); char_u *expand_sfile(char_u *arg); void dialog_msg(char_u *buff, char *format, char_u *fname); void set_no_hlsearch(int flag); |