aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-09 08:15:18 +0800
committerGitHub <noreply@github.com>2022-03-09 08:15:18 +0800
commit205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d (patch)
treeb3db8da594fd829224607a11d21b43b3d329b76f /src/nvim/spell.c
parentf33cea4682340ea2b622fa879dd6fca2c80ea1d5 (diff)
parentff032f2710974dcf5930187f1925534da93db199 (diff)
downloadrneovim-205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d.tar.gz
rneovim-205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d.tar.bz2
rneovim-205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d.zip
Merge pull request #17622 from dundargoc/refactor/clang-tidy/remove-redundant-casts
refactor/clang tidy/remove redundant casts
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 1296d410f6..fb644daa39 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -3824,7 +3824,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char_u *fword, bool so
// At end of a prefix or at start of prefixtree: check for
// following word.
- if (byts[arridx] == 0 || n == (int)STATE_NOPREFIX) {
+ if (byts[arridx] == 0 || n == STATE_NOPREFIX) {
// Set su->su_badflags to the caps type at this position.
// Use the caps type until here for the prefix itself.
n = nofold_len(fword, sp->ts_fidx, su->su_badptr);