diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2023-04-07 19:40:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 19:40:57 +0200 |
commit | 9408f2dcf7cade2631688300e9b58eed6bc5219a (patch) | |
tree | 152b8b6135f50619b1fb2a69719d71a180ea0792 /src/nvim/ex_docmd.c | |
parent | 1d2a29f75ba7d094c8e7444c9b249a4a7211c93c (diff) | |
download | rneovim-9408f2dcf7cade2631688300e9b58eed6bc5219a.tar.gz rneovim-9408f2dcf7cade2631688300e9b58eed6bc5219a.tar.bz2 rneovim-9408f2dcf7cade2631688300e9b58eed6bc5219a.zip |
refactor: remove redundant const char * casts
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index bc8c7eead0..699c1da3a7 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -4452,7 +4452,7 @@ static void ex_highlight(exarg_T *eap) if (*eap->arg == NUL && eap->cmd[2] == '!') { msg(_("Greetings, Vim user!")); } - do_highlight((const char *)eap->arg, eap->forceit, false); + do_highlight(eap->arg, eap->forceit, false); } /// Call this function if we thought we were going to exit, but we won't @@ -5211,7 +5211,7 @@ void do_exedit(exarg_T *eap, win_T *old_curwin) int ms = msg_scroll; if (eap->nextcmd != NULL) { - stuffReadbuff((const char *)eap->nextcmd); + stuffReadbuff(eap->nextcmd); eap->nextcmd = NULL; } |