aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/indent.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-04 18:27:22 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-05 18:10:46 +0200
commit9a671e6a24243a5ff2879599d91ab5aec8b4e77d (patch)
tree703693c3591ed6b8881ed965f7f2ed2394a29ce6 /src/nvim/indent.c
parent82c7a82c3585100e73e154c49e3e002b7dc35437 (diff)
downloadrneovim-9a671e6a24243a5ff2879599d91ab5aec8b4e77d.tar.gz
rneovim-9a671e6a24243a5ff2879599d91ab5aec8b4e77d.tar.bz2
rneovim-9a671e6a24243a5ff2879599d91ab5aec8b4e77d.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
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,