refactor: enable -Wconversion warning for edit.c

Work on https://github.com/neovim/neovim/issues/567
This commit is contained in:
Dundar Goc
2022-04-29 11:44:06 +02:00
parent 8bbeab9989
commit 21a31ea929
8 changed files with 59 additions and 68 deletions

View File

@@ -299,7 +299,7 @@ void buf_updates_send_changes(buf_T *buf, linenr_T firstline, int64_t num_added,
kv_size(buf->update_callbacks) = j;
}
void buf_updates_send_splice(buf_T *buf, int start_row, colnr_T start_col, bcount_t start_byte,
void buf_updates_send_splice(buf_T *buf, linenr_T start_row, colnr_T start_col, bcount_t start_byte,
int old_row, colnr_T old_col, bcount_t old_byte, int new_row,
colnr_T new_col, bcount_t new_byte)
{