aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cursor_shape.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-08-26 10:36:35 +0200
committerDundar Göc <gocdundar@gmail.com>2022-08-26 22:24:28 +0200
commit395277036014189c03b8969fc0a5cd2bdc5c8631 (patch)
tree27caaef2e0b8351eb5637d1a969229663ec2c4a8 /src/nvim/cursor_shape.c
parent6a13b8fa5460da5aa22a1c366e5252c26ed5fe1e (diff)
downloadrneovim-395277036014189c03b8969fc0a5cd2bdc5c8631.tar.gz
rneovim-395277036014189c03b8969fc0a5cd2bdc5c8631.tar.bz2
rneovim-395277036014189c03b8969fc0a5cd2bdc5c8631.zip
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/cursor_shape.c')
-rw-r--r--src/nvim/cursor_shape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cursor_shape.c b/src/nvim/cursor_shape.c
index 9c33b1a806..73ad99876a 100644
--- a/src/nvim/cursor_shape.c
+++ b/src/nvim/cursor_shape.c
@@ -120,7 +120,7 @@ char *parse_shape_opt(int what)
}
}
// Repeat for all comma separated parts.
- char *modep = (char *)p_guicursor;
+ char *modep = p_guicursor;
while (modep != NULL && *modep != NUL) {
colonp = vim_strchr(modep, ':');
commap = vim_strchr(modep, ',');