mirror of
https://github.com/neovim/neovim.git
synced 2025-11-24 19:20:39 +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:
@@ -1784,7 +1784,7 @@ getexmodeline (
|
||||
}
|
||||
|
||||
if (c1 == Ctrl_T) {
|
||||
long sw = get_sw_value(curbuf);
|
||||
int sw = get_sw_value(curbuf);
|
||||
|
||||
p = (char_u *)line_ga.ga_data;
|
||||
p[line_ga.ga_len] = NUL;
|
||||
|
||||
Reference in New Issue
Block a user