mirror of
https://github.com/neovim/neovim.git
synced 2025-12-11 00:52:44 +00:00
vim-patch:8.2.3460: some type casts are not needed #15868
Problem: Some type casts are not needed.
Solution: Remove unnecessary type casts. (closes vim/vim#8934)
dfa5e464d4
This commit is contained in:
@@ -117,7 +117,7 @@ static int read_buffer(int read_stdin, exarg_T *eap, int flags)
|
||||
line_count = curbuf->b_ml.ml_line_count;
|
||||
retval = readfile(read_stdin ? NULL : curbuf->b_ffname,
|
||||
read_stdin ? NULL : curbuf->b_fname,
|
||||
(linenr_T)line_count, (linenr_T)0, (linenr_T)MAXLNUM, eap,
|
||||
line_count, (linenr_T)0, (linenr_T)MAXLNUM, eap,
|
||||
flags | READ_BUFFER);
|
||||
if (retval == OK) {
|
||||
// Delete the binary lines.
|
||||
|
||||
Reference in New Issue
Block a user