mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
Enable -Wconversion
This commit is contained in:
@@ -754,7 +754,7 @@ deleteFold (
|
||||
// notification that includes every line that was part of the fold
|
||||
int64_t num_changed = last_lnum - first_lnum;
|
||||
buffer_updates_send_changes(curbuf, first_lnum, num_changed,
|
||||
num_changed, true);
|
||||
num_changed, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1607,8 +1607,8 @@ static void foldCreateMarkers(linenr_T start, linenr_T end)
|
||||
|
||||
if (kv_size(curbuf->update_channels)) {
|
||||
// Note: foldAddMarker() may not actually change start and/or end if
|
||||
// u_save() is unable to save the buffer line, but we send the nvim_buf_update
|
||||
// anyway since it won't do any harm.
|
||||
// u_save() is unable to save the buffer line, but we send the
|
||||
// nvim_buf_update anyway since it won't do any harm.
|
||||
int64_t num_changed = 1 + end - start;
|
||||
buffer_updates_send_changes(curbuf, start, num_changed, num_changed, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user