comparison src/proto/vim9compile.pro @ 21194:afed2045ffc9 v8.2.1148

patch 8.2.1148: warning for using int instead of size_t Commit: https://github.com/vim/vim/commit/cbb6bdcd8967edc8ad123746d27ec30ccc7c1718 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 6 21:53:17 2020 +0200 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)
author Bram Moolenaar <Bram@vim.org>
date Mon, 06 Jul 2020 22:00:04 +0200
parents 6b4b887a12f0
children 09377fd59b2e
comparison
equal deleted inserted replaced
21193:a762b2e4e72b 21194:afed2045ffc9
1 /* vim9compile.c */ 1 /* vim9compile.c */
2 int check_defined(char_u *p, int len, cctx_T *cctx); 2 int check_defined(char_u *p, size_t len, cctx_T *cctx);
3 type_T *typval2type(typval_T *tv); 3 type_T *typval2type(typval_T *tv);
4 int check_type(type_T *expected, type_T *actual, int give_msg); 4 int check_type(type_T *expected, type_T *actual, int give_msg);
5 char_u *skip_type(char_u *start); 5 char_u *skip_type(char_u *start);
6 type_T *parse_type(char_u **arg, garray_T *type_gap); 6 type_T *parse_type(char_u **arg, garray_T *type_gap);
7 char *vartype_name(vartype_T type); 7 char *vartype_name(vartype_T type);