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/filepath.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/filepath.pro')
-rw-r--r-- | src/proto/filepath.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/filepath.pro b/src/proto/filepath.pro index fd8de80379..53fa4ec3ff 100644 --- a/src/proto/filepath.pro +++ b/src/proto/filepath.pro @@ -1,5 +1,5 @@ /* filepath.c */ -int modify_fname(char_u *src, int tilde_file, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen); +int modify_fname(char_u *src, int tilde_file, size_t *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen); void shorten_dir(char_u *str); int file_is_readable(char_u *fname); void f_chdir(typval_T *argvars, typval_T *rettv); |