diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-01 10:25:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 10:25:27 +0200 |
commit | 48ca1d4ce8c0a142e90e06b3cd37f1315c5eb715 (patch) | |
tree | e792fd9dfe30eebbb6525a285d071d4f719d38ad /src/nvim/eval/vars.c | |
parent | d9a873f278272bf1311179e73ae0d7fad2c00f81 (diff) | |
parent | bd51ac2a347c0a3efb64e4b09400b7314286844c (diff) | |
download | rneovim-48ca1d4ce8c0a142e90e06b3cd37f1315c5eb715.tar.gz rneovim-48ca1d4ce8c0a142e90e06b3cd37f1315c5eb715.tar.bz2 rneovim-48ca1d4ce8c0a142e90e06b3cd37f1315c5eb715.zip |
Merge pull request #20022 from dundargoc/refactor/char_u/6
refactor: replace char_u with char 6
Diffstat (limited to 'src/nvim/eval/vars.c')
-rw-r--r-- | src/nvim/eval/vars.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/vars.c b/src/nvim/eval/vars.c index dbbb03b1b8..ba58254bdd 100644 --- a/src/nvim/eval/vars.c +++ b/src/nvim/eval/vars.c @@ -207,7 +207,7 @@ static void ex_let_const(exarg_T *eap, const bool is_const) list_func_vars(&first); list_vim_vars(&first); } - eap->nextcmd = (char *)check_nextcmd((char_u *)arg); + eap->nextcmd = check_nextcmd(arg); } else if (expr[0] == '=' && expr[1] == '<' && expr[2] == '<') { // HERE document list_T *l = heredoc_get(eap, expr + 3); @@ -824,7 +824,7 @@ static void ex_unletlock(exarg_T *eap, char *argstart, int deep, ex_unletlock_ca arg = skipwhite(name_end); } while (!ends_excmd(*arg)); - eap->nextcmd = (char *)check_nextcmd((char_u *)arg); + eap->nextcmd = check_nextcmd(arg); } // TODO(ZyX-I): move to eval/ex_cmds |