comparison src/buffer.c @ 25852:336e2d9924e6 v8.2.3460

patch 8.2.3460: some type casts are not needed Commit: https://github.com/vim/vim/commit/dfa5e464d459f84200a73d178f1ecefe75bbe511 Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> Date: Sat Oct 2 11:26:51 2021 +0100 patch 8.2.3460: some type casts are not needed Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes https://github.com/vim/vim/issues/8934)
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Oct 2021 12:30:05 +0200
parents 64fa341cc33b
children 7c640ad754fb
comparison
equal deleted inserted replaced
25851:6dd46a7fa3cd 25852:336e2d9924e6
101 */ 101 */
102 line_count = curbuf->b_ml.ml_line_count; 102 line_count = curbuf->b_ml.ml_line_count;
103 retval = readfile( 103 retval = readfile(
104 read_stdin ? NULL : curbuf->b_ffname, 104 read_stdin ? NULL : curbuf->b_ffname,
105 read_stdin ? NULL : curbuf->b_fname, 105 read_stdin ? NULL : curbuf->b_fname,
106 (linenr_T)line_count, (linenr_T)0, (linenr_T)MAXLNUM, eap, 106 line_count, (linenr_T)0, (linenr_T)MAXLNUM, eap,
107 flags | READ_BUFFER); 107 flags | READ_BUFFER);
108 if (retval == OK) 108 if (retval == OK)
109 { 109 {
110 // Delete the binary lines. 110 // Delete the binary lines.
111 while (--line_count >= 0) 111 while (--line_count >= 0)