aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/cursor.c')
-rw-r--r--src/nvim/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/cursor.c b/src/nvim/cursor.c
index b1dbc68ea3..ceeaa65206 100644
--- a/src/nvim/cursor.c
+++ b/src/nvim/cursor.c
@@ -494,10 +494,10 @@ int gchar_cursor(void)
/// Write a character at the current cursor position.
/// It is directly written into the block.
-void pchar_cursor(char_u c)
+void pchar_cursor(char c)
{
*(ml_get_buf(curbuf, curwin->w_cursor.lnum, true)
- + curwin->w_cursor.col) = (char)c;
+ + curwin->w_cursor.col) = c;
}
/// @return pointer to cursor line.