neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 2302ca47002d45976379da45a732bb599200be2f
parent 7ebb1cf28f41d073062a4d454b5613d31e5d7518
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date:   Tue, 17 Jan 2023 00:43:04 +0100

refactor: fix sign conversion warning from gcc (#21833)


Diffstat:
Msrc/nvim/spellsuggest.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nvim/spellsuggest.c b/src/nvim/spellsuggest.c @@ -1364,7 +1364,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char *fword, bool soun == sp->ts_twordlen - sp->ts_splitoff && strncmp(fword + sp->ts_splitfidx, tword + sp->ts_splitoff, - sp->ts_fidx - sp->ts_splitfidx) == 0) { + (size_t)(sp->ts_fidx - sp->ts_splitfidx)) == 0) { preword[sp->ts_prewordlen] = NUL; newscore = score_wordcount_adj(slang, sp->ts_score, (char_u *)preword + sp->ts_prewordlen,