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/main.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/main.c')
-rw-r--r-- | src/nvim/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index a16badc1a0..1f16ecff76 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -2153,7 +2153,7 @@ static void print_mainerr(const char *errstr, const char *str) os_errmsg(_(errstr)); if (str != NULL) { os_errmsg(": \""); - os_errmsg((char *)str); + os_errmsg(str); os_errmsg("\""); } os_errmsg(_("\nMore info with \"")); |