aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellsuggest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/spellsuggest.c')
-rw-r--r--src/nvim/spellsuggest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/spellsuggest.c b/src/nvim/spellsuggest.c
index 705e215dfa..d28460a63d 100644
--- a/src/nvim/spellsuggest.c
+++ b/src/nvim/spellsuggest.c
@@ -551,7 +551,7 @@ void spell_suggest(int count)
vim_snprintf(IObuff, IOSIZE, ":ot \"%.*s\" egnahC",
sug.su_badlen, sug.su_badptr);
}
- msg_puts((const char *)IObuff);
+ msg_puts(IObuff);
msg_clr_eos();
msg_putchar('\n');
@@ -570,16 +570,16 @@ void spell_suggest(int count)
if (cmdmsg_rl) {
rl_mirror_ascii(IObuff);
}
- msg_puts((const char *)IObuff);
+ msg_puts(IObuff);
vim_snprintf(IObuff, IOSIZE, " \"%s\"", wcopy);
- msg_puts((const char *)IObuff);
+ msg_puts(IObuff);
// The word may replace more than "su_badlen".
if (sug.su_badlen < stp->st_orglen) {
vim_snprintf(IObuff, IOSIZE, _(" < \"%.*s\""),
stp->st_orglen, sug.su_badptr);
- msg_puts((const char *)IObuff);
+ msg_puts(IObuff);
}
if (p_verbose > 0) {
@@ -597,7 +597,7 @@ void spell_suggest(int count)
rl_mirror_ascii(IObuff + 1);
}
msg_advance(30);
- msg_puts((const char *)IObuff);
+ msg_puts(IObuff);
}
msg_putchar('\n');
}