Mercurial > vim
view src/proto/json.pro @ 26248:36361f080ffd v8.2.3655
patch 8.2.3655: compiler warning for using size_t for int
Commit: https://github.com/vim/vim/commit/cc9d725bbb515baf172c2be21de12d35a961e4ee
Author: Mike Williams <mikew@globalgraphics.com>
Date: Tue Nov 23 12:35:57 2021 +0000
patch 8.2.3655: compiler warning for using size_t for int
Problem: Compiler warning for using size_t for int.
Solution: Add a type cast. (Mike Williams, closes https://github.com/vim/vim/issues/9199)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 23 Nov 2021 13:45:03 +0100 |
parents | 0f7ae8010787 |
children | 85b07a942518 |
line wrap: on
line source
/* json.c */ char_u *json_encode(typval_T *val, int options); char_u *json_encode_nr_expr(int nr, typval_T *val, int options); int json_decode(js_read_T *reader, typval_T *res, int options); int json_find_end(js_read_T *reader, int options); void f_js_decode(typval_T *argvars, typval_T *rettv); void f_js_encode(typval_T *argvars, typval_T *rettv); void f_json_decode(typval_T *argvars, typval_T *rettv); void f_json_encode(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */