aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/indent.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-05 18:42:00 +0200
committerGitHub <noreply@github.com>2022-05-05 18:42:00 +0200
commitd4f47fe17d5168304b73df26a5d8fe3b11832128 (patch)
treede2c438ed9b0936795ae4f99e9a6e4df2c6ffe2f /src/nvim/indent.c
parent3e3e9c31255cd5c01bce96c68e5b1cf8e26a9f4d (diff)
parent9a671e6a24243a5ff2879599d91ab5aec8b4e77d (diff)
downloadrneovim-d4f47fe17d5168304b73df26a5d8fe3b11832128.tar.gz
rneovim-d4f47fe17d5168304b73df26a5d8fe3b11832128.tar.bz2
rneovim-d4f47fe17d5168304b73df26a5d8fe3b11832128.zip
Merge pull request #18416 from dundargoc/refactor/remove-char_u
refactor/remove char u
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r--src/nvim/indent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c
index 67a2d4aac7..b0d4142cb1 100644
--- a/src/nvim/indent.c
+++ b/src/nvim/indent.c
@@ -353,7 +353,7 @@ int set_indent(int size, int flags)
const colnr_T new_offset = (colnr_T)(s - newline);
// this may free "newline"
- ml_replace(curwin->w_cursor.lnum, newline, false);
+ ml_replace(curwin->w_cursor.lnum, (char *)newline, false);
if (!(flags & SIN_NOMARK)) {
extmark_splice_cols(curbuf,
(int)curwin->w_cursor.lnum - 1,