diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2023-04-01 02:49:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 08:49:51 +0800 |
commit | d5f6176e6dc4b4e12fc5061ca6e87f4af533e46a (patch) | |
tree | ed51aa26f2b10c950c9bf2d7d035450335d01b55 /src/nvim/tag.c | |
parent | 83bfd94d1df5eecb8e4069a227c7d24598636d63 (diff) | |
download | rneovim-d5f6176e6dc4b4e12fc5061ca6e87f4af533e46a.tar.gz rneovim-d5f6176e6dc4b4e12fc5061ca6e87f4af533e46a.tar.bz2 rneovim-d5f6176e6dc4b4e12fc5061ca6e87f4af533e46a.zip |
refactor: add const and remove unnecessary casts (#22841)
Diffstat (limited to 'src/nvim/tag.c')
-rw-r--r-- | src/nvim/tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c index 852e7e6e7c..2d9d0de951 100644 --- a/src/nvim/tag.c +++ b/src/nvim/tag.c @@ -726,7 +726,7 @@ void do_tag(char *tag, int type, int count, int forceit, int verbose) if ((num_matches > prev_num_matches || new_tag) && num_matches > 1) { if (ic) { - msg_attr((const char *)IObuff, HL_ATTR(HLF_W)); + msg_attr(IObuff, HL_ATTR(HLF_W)); } else { msg(IObuff); } |