aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell_defs.h
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-07-30 14:59:34 +0200
committerGitHub <noreply@github.com>2022-07-30 20:59:34 +0800
commitc34d72bf7cc149db7b17ef57f2c961b54cd46ff7 (patch)
treed496396ef5a7a07d8058927998acc05b20a2c759 /src/nvim/spell_defs.h
parente59bc078de624a5f3220bfd2713be3f8978c5672 (diff)
downloadrneovim-c34d72bf7cc149db7b17ef57f2c961b54cd46ff7.tar.gz
rneovim-c34d72bf7cc149db7b17ef57f2c961b54cd46ff7.tar.bz2
rneovim-c34d72bf7cc149db7b17ef57f2c961b54cd46ff7.zip
refactor: enable -Wconversion warning for spell.c (#19538)
Work on https://github.com/neovim/neovim/issues/567
Diffstat (limited to 'src/nvim/spell_defs.h')
-rw-r--r--src/nvim/spell_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell_defs.h b/src/nvim/spell_defs.h
index 7e85b5bf03..222d103f5d 100644
--- a/src/nvim/spell_defs.h
+++ b/src/nvim/spell_defs.h
@@ -237,7 +237,7 @@ typedef struct trystate_S {
state_T ts_state; // state at this level, STATE_
int ts_score; // score
idx_T ts_arridx; // index in tree array, start of node
- short ts_curi; // index in list of child nodes
+ int16_t ts_curi; // index in list of child nodes
char_u ts_fidx; // index in fword[], case-folded bad word
char_u ts_fidxtry; // ts_fidx at which bytes may be changed
char_u ts_twordlen; // valid length of tword[]