diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-06 21:53:17 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-06 21:53:17 +0200 |
commit | cbb6bdcd8967edc8ad123746d27ec30ccc7c1718 (patch) | |
tree | 63e35c7653975ac881c405f45f9aede6628a51ab /src/proto | |
parent | 27321dbeedf8bb833c48b01bf18536125794f65e (diff) | |
download | vim-git-cbb6bdcd8967edc8ad123746d27ec30ccc7c1718.tar.gz |
patch 8.2.1148: warning for using int instead of size_tv8.2.1148
Problem: Warning for using int instead of size_t.
Solution: Change "len" argument to size_t. (Mike Williams)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/vim9compile.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/vim9compile.pro b/src/proto/vim9compile.pro index 040e4d7eb..05f6d5022 100644 --- a/src/proto/vim9compile.pro +++ b/src/proto/vim9compile.pro @@ -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); |