Skip to content

Commit

Permalink
refactor: fix sign conversion warning from gcc (neovim#21833)
Browse files Browse the repository at this point in the history
  • Loading branch information
dundargoc authored and yesean committed Mar 25, 2023
1 parent 132c0a2 commit 7611c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvim/spellsuggest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7611c1e

Please sign in to comment.