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/os/shell.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/os/shell.c')
-rw-r--r-- | src/nvim/os/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index f7d1154169..e990db3296 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -876,7 +876,7 @@ static int do_os_system(char **argv, const char *input, size_t len, char **outpu // Failed, probably 'shell' is not executable. if (!silent) { msg_puts(_("\nshell failed to start: ")); - msg_outtrans((char *)os_strerror(status)); + msg_outtrans(os_strerror(status)); msg_puts(": "); msg_outtrans(prog); msg_putchar('\n'); |