aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index f4f07e0680..4c4d3e89e4 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -6595,7 +6595,7 @@ char *script_get(exarg_T *const eap, size_t *const lenp)
}
if (!eap->skip) {
- ga_concat(&ga, (const char_u *)theline);
+ ga_concat(&ga, theline);
ga_append(&ga, '\n');
}
xfree(theline);