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/if_cscope.c | |
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/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index d9982ef164..7b6fd926ef 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -541,7 +541,7 @@ cs_add_common( char *ppath = NULL; int i; int len; - int usedlen = 0; + size_t usedlen = 0; char_u *fbuf = NULL; // get the filename (arg1), expand it, and try to stat it |