summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
author=?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>2021-10-02 11:26:51 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-02 11:26:51 +0100
commitdfa5e464d459f84200a73d178f1ecefe75bbe511 (patch)
tree2bf8a9283ea1bb99757758918884b9a92f2db659 /src/buffer.c
parent51491adfa86fd66a857cd7ec50d0b57dbdf3da59 (diff)
patch 8.2.3460: some type casts are not neededv8.2.3460
Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes #8934)
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 507eb01267..5616487da9 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -103,7 +103,7 @@ read_buffer(
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)
{