diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-04 17:34:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 17:34:25 +0200 |
commit | 4f17e7e1c38e53eb214fd85cde1cbbe332e86498 (patch) | |
tree | 3a1457be276d95ffccbb760e79c708ab11b2cd54 /src/nvim/spellfile.c | |
parent | 3ec93ca92cb08faed342586e86a6f21b35264376 (diff) | |
parent | 5576d30e89153c817fb1a8d23c30cfc0432bc7c6 (diff) | |
download | rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.tar.gz rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.tar.bz2 rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.zip |
Merge pull request #18387 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/spellfile.c')
-rw-r--r-- | src/nvim/spellfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index f4e50778cf..c1b116e498 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -4874,7 +4874,7 @@ void ex_mkspell(exarg_T *eap) { int fcount; char_u **fnames; - char_u *arg = eap->arg; + char_u *arg = (char_u *)eap->arg; bool ascii = false; if (STRNCMP(arg, "-ascii", 6) == 0) { @@ -5501,7 +5501,7 @@ static void spell_message(const spellinfo_T *spin, char_u *str) // ":[count]spellrare {word}" void ex_spell(exarg_T *eap) { - spell_add_word(eap->arg, (int)STRLEN(eap->arg), + spell_add_word((char_u *)eap->arg, (int)STRLEN(eap->arg), eap->cmdidx == CMD_spellwrong ? SPELL_ADD_BAD : eap->cmdidx == CMD_spellrare ? SPELL_ADD_RARE : SPELL_ADD_GOOD, eap->forceit ? 0 : (int)eap->line2, |