0
0
mirror of https://github.com/vim/vim.git synced 2025-11-16 23:24:03 -05:00

patch 8.2.1148: warning for using int instead of size_t

Problem:    Warning for using int instead of size_t.
Solution:   Change "len" argument to size_t. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2020-07-06 21:53:17 +02:00
parent 27321dbeed
commit cbb6bdcd89
4 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/* vim9compile.c */
int check_defined(char_u *p, int len, cctx_T *cctx);
int check_defined(char_u *p, size_t len, cctx_T *cctx);
type_T *typval2type(typval_T *tv);
int check_type(type_T *expected, type_T *actual, int give_msg);
char_u *skip_type(char_u *start);