aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fold.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2018-02-11 23:02:53 +0100
committerKillTheMule <KillTheMule@users.noreply.github.com>2018-05-23 22:07:27 +0200
commit2106bada5bbd6de4729a8714d011e0eca61cee35 (patch)
tree63ac8998a25853f3fd5cbf5af1556b368a63dbcf /src/nvim/fold.c
parent6bdcbef2f5acfd9815599c751bd8dcbe3204281f (diff)
downloadrneovim-2106bada5bbd6de4729a8714d011e0eca61cee35.tar.gz
rneovim-2106bada5bbd6de4729a8714d011e0eca61cee35.tar.bz2
rneovim-2106bada5bbd6de4729a8714d011e0eca61cee35.zip
Enable -Wconversion
Diffstat (limited to 'src/nvim/fold.c')
-rw-r--r--src/nvim/fold.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/fold.c b/src/nvim/fold.c
index 2cf1c6f394..9869e0fd30 100644
--- a/src/nvim/fold.c
+++ b/src/nvim/fold.c
@@ -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);
}