diff options
| author | dundargoc <gocdundar@gmail.com> | 2022-11-26 18:57:46 +0100 | 
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2023-01-09 17:03:40 +0800 | 
| commit | 08c2c7480619ccdf0c92fe6ce76da5b73b0e395b (patch) | |
| tree | 2759bc2cb18bd7edc20fd17e7e0aeb8631bd957c /src/nvim/eval.c | |
| parent | 53adccb6e0292f7ba5524121c0200a73aec977a6 (diff) | |
| download | rneovim-08c2c7480619ccdf0c92fe6ce76da5b73b0e395b.tar.gz rneovim-08c2c7480619ccdf0c92fe6ce76da5b73b0e395b.tar.bz2 rneovim-08c2c7480619ccdf0c92fe6ce76da5b73b0e395b.zip  | |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/eval.c')
| -rw-r--r-- | src/nvim/eval.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 8cb4a723e7..6a1c186c2b 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -6273,7 +6273,7 @@ int list2fpos(typval_T *arg, pos_T *posp, int *fnump, colnr_T *curswantp, bool c  int get_env_len(const char **arg)  {    const char *p; -  for (p = *arg; vim_isIDc(*p); p++) {} +  for (p = *arg; vim_isIDc((uint8_t)(*p)); p++) {}    if (p == *arg) {  // No name found.      return 0;    }  | 
