mirror of
https://github.com/neovim/neovim.git
synced 2025-10-10 03:46:31 +00:00
Enable -Wconversion: fold.c.
Refactor summary: - foldinfo_T.fi_lnum: int --> linenr_T Reorder field for optimal packing. - foldAddMarker(..., markerlen): int --> size_t * foldstartmarkerlen: int --> size_t - foldDelMarker(..., markerlen): int --> size_t * foldendmarkerlen: int --> size_t Helped-by: oni-link <knil.ino@gmail.com>
This commit is contained in:
@@ -278,7 +278,7 @@ shift_line (
|
||||
{
|
||||
int count;
|
||||
int i, j;
|
||||
int p_sw = (int)get_sw_value(curbuf);
|
||||
int p_sw = get_sw_value(curbuf);
|
||||
|
||||
count = get_indent(); /* get current indent */
|
||||
|
||||
@@ -321,7 +321,7 @@ static void shift_block(oparg_T *oap, int amount)
|
||||
int total;
|
||||
char_u *newp, *oldp;
|
||||
int oldcol = curwin->w_cursor.col;
|
||||
int p_sw = (int)get_sw_value(curbuf);
|
||||
int p_sw = get_sw_value(curbuf);
|
||||
int p_ts = (int)curbuf->b_p_ts;
|
||||
struct block_def bd;
|
||||
int incr;
|
||||
|
Reference in New Issue
Block a user