aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 745e9d27e2..9aed2630dd 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1788,7 +1788,7 @@ void f_getcharstr(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
int i = 0;
if (n != 0) {
- i += utf_char2bytes((int)n, (char *)temp);
+ i += utf_char2bytes((int)n, temp);
}
assert(i < 7);
temp[i++] = NUL;