aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r--src/nvim/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index 593e2f4d89..a14a02b9f7 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -2845,7 +2845,7 @@ static void spell_soundfold_wsal(slang_T *slang, const char *inword, char *res)
// Remove accents, if wanted. We actually remove all non-word characters.
// But keep white space.
int wordlen = 0;
- for (const char *s = (char *)inword; *s != NUL;) {
+ for (const char *s = inword; *s != NUL;) {
const char *t = s;
int c = mb_cptr2char_adv(&s);
if (slang->sl_rem_accents) {