diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-07-29 04:05:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 10:05:29 +0800 |
commit | 1ebe7cd1604fccb1a5e15ae5c70f4229f136c6f3 (patch) | |
tree | dd8a6fe994dc83c50af47f97f2d995ab025d1784 /src/nvim/buffer_defs.h | |
parent | 88ed33230ac91423f6e09c3f7c07cc02b2b115ac (diff) | |
download | rneovim-1ebe7cd1604fccb1a5e15ae5c70f4229f136c6f3.tar.gz rneovim-1ebe7cd1604fccb1a5e15ae5c70f4229f136c6f3.tar.bz2 rneovim-1ebe7cd1604fccb1a5e15ae5c70f4229f136c6f3.zip |
refactor: enable -Wconversion warning for syntax.c (#19533)
Work on https://github.com/neovim/neovim/issues/567
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index c052c2fdfd..174eb1cec9 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -445,11 +445,11 @@ typedef struct { // "containedin" argument int b_syn_sync_flags; // flags about how to sync int16_t b_syn_sync_id; // group to sync on - long b_syn_sync_minlines; // minimal sync lines offset - long b_syn_sync_maxlines; // maximal sync lines offset - long b_syn_sync_linebreaks; // offset for multi-line pattern - char_u *b_syn_linecont_pat; // line continuation pattern - regprog_T *b_syn_linecont_prog; // line continuation program + linenr_T b_syn_sync_minlines; // minimal sync lines offset + linenr_T b_syn_sync_maxlines; // maximal sync lines offset + linenr_T b_syn_sync_linebreaks; // offset for multi-line pattern + char_u *b_syn_linecont_pat; // line continuation pattern + regprog_T *b_syn_linecont_prog; // line continuation program syn_time_T b_syn_linecont_time; int b_syn_linecont_ic; // ignore-case flag for above int b_syn_topgrp; // for ":syntax include" @@ -583,9 +583,9 @@ struct file_buffer { linenr_T b_mod_top; // topmost lnum that was changed linenr_T b_mod_bot; // lnum below last changed line, AFTER the // change - long b_mod_xlines; // number of extra buffer lines inserted; + linenr_T b_mod_xlines; // number of extra buffer lines inserted; // negative when lines were deleted - wininfo_T *b_wininfo; // list of last used info for each window + wininfo_T *b_wininfo; // list of last used info for each window disptick_T b_mod_tick_syn; // last display tick syntax was updated disptick_T b_mod_tick_decor; // last display tick decoration providers // where invoked |