mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
*: Fix some Windows-specific warnings
Also fixed an error in path_fnamecmp().
This commit is contained in:
@@ -395,10 +395,10 @@ void nvim_buf_set_lines(uint64_t channel_id,
|
||||
mark_adjust((linenr_T)start, (linenr_T)(end - 1), MAXLNUM, extra);
|
||||
}
|
||||
|
||||
changed_lines((linenr_T)start, 0, (linenr_T)end, extra);
|
||||
changed_lines((linenr_T)start, 0, (linenr_T)end, (long)extra);
|
||||
|
||||
if (save_curbuf.br_buf == NULL) {
|
||||
fix_cursor((linenr_T)start, (linenr_T)end, extra);
|
||||
fix_cursor((linenr_T)start, (linenr_T)end, (linenr_T)extra);
|
||||
}
|
||||
|
||||
end:
|
||||
|
Reference in New Issue
Block a user