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:
Eliseo Martínez
2015-03-21 20:34:35 +01:00
parent c5d7fa615d
commit fa2fcf13aa
9 changed files with 57 additions and 61 deletions

View File

@@ -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;