summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorMike Williams <mrmrdubya@gmail.com>2024-05-30 07:46:30 +0200
committerChristian Brabandt <cb@256bit.org>2024-05-30 07:46:30 +0200
commit51024bbc1a9e298b1fb8f2e465fccb5db409551e (patch)
tree5da6ae660fbc1ab6a6f54f08741e1e6d00f1a461 /src/evalfunc.c
parent8904d672befb496cf224f01bc042683bb6120e81 (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/evalfunc.c')
-rw-r--r--src/evalfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index d53dda4576..6e1eb037e4 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -4458,7 +4458,7 @@ f_exists_compiled(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
f_expand(typval_T *argvars, typval_T *rettv)
{
char_u *s;
- int len;
+ size_t len;
int options = WILD_SILENT|WILD_USE_NL|WILD_LIST_NOTFOUND;
expand_T xpc;
int error = FALSE;