diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-05-01 11:18:17 +0200 |
---|---|---|
committer | Dundar Goc <gocdundar@gmail.com> | 2022-05-03 10:33:40 +0200 |
commit | b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf (patch) | |
tree | 807bb0bcb4a551285e7c1f739b1b201d49d58261 /src/nvim/ex_cmds2.c | |
parent | 46734cf7c1e5abe8e452354db6914364bfe89f0d (diff) | |
download | rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.gz rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.bz2 rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.zip |
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r-- | src/nvim/ex_cmds2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index c439b29cf6..edbd850cd0 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -1627,14 +1627,14 @@ void ex_compiler(exarg_T *eap) // Set "b:current_compiler" from "current_compiler". p = get_var_value("g:current_compiler"); if (p != NULL) { - set_internal_string_var("b:current_compiler", p); + set_internal_string_var("b:current_compiler", (char *)p); } // Restore "current_compiler" for ":compiler {name}". if (!eap->forceit) { if (old_cur_comp != NULL) { set_internal_string_var("g:current_compiler", - old_cur_comp); + (char *)old_cur_comp); xfree(old_cur_comp); } else { do_unlet(S_LEN("g:current_compiler"), true); |