aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
authorii14 <59243201+ii14@users.noreply.github.com>2023-04-07 21:08:16 +0200
committerGitHub <noreply@github.com>2023-04-07 21:08:16 +0200
commit04933b1ea968f958d2541dd65fd33ebb503caac3 (patch)
tree430e333892c440dccce4d1b4606c83ab36f817c5 /src/nvim/runtime.c
parent9408f2dcf7cade2631688300e9b58eed6bc5219a (diff)
downloadrneovim-04933b1ea968f958d2541dd65fd33ebb503caac3.tar.gz
rneovim-04933b1ea968f958d2541dd65fd33ebb503caac3.tar.bz2
rneovim-04933b1ea968f958d2541dd65fd33ebb503caac3.zip
refactor: remove redundant casts
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index c02e12ae61..8d69e786c7 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -1832,7 +1832,7 @@ static char *get_str_line(int c, void *cookie, int indent, bool do_concat)
if (!concat_continued_line(&ga, 400, line, (size_t)(next_eol - line))) {
break;
}
- eol = (char *)next_eol;
+ eol = next_eol;
}
}
ga_append(&ga, NUL);