diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2023-04-07 19:39:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 19:39:04 +0200 |
commit | 1d2a29f75ba7d094c8e7444c9b249a4a7211c93c (patch) | |
tree | 6cfdf72d0751adf917426d242a532f0490990e9e /src/nvim/syntax.c | |
parent | d675bd01b1e78b93e559320b262bdae40b3b54b2 (diff) | |
download | rneovim-1d2a29f75ba7d094c8e7444c9b249a4a7211c93c.tar.gz rneovim-1d2a29f75ba7d094c8e7444c9b249a4a7211c93c.tar.bz2 rneovim-1d2a29f75ba7d094c8e7444c9b249a4a7211c93c.zip |
refactor: make char * parameters const in message.c
Add const to char * parameters in message.c functions and remove some
redundant casts.
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index c0bb7d726e..6b8cce4858 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -3643,7 +3643,7 @@ static bool syn_list_keywords(const int id, const hashtab_T *const ht, bool did_ prev_skipempty = (kp->flags & HL_SKIPEMPTY); } } - msg_outtrans((char *)kp->keyword); + msg_outtrans(kp->keyword); } } } |