diff options
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 6dd6c51e8f..539f6e3a1f 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -4275,7 +4275,7 @@ static char_u *eval_map_expr(mapblock_T *mp, int c) api_clear_error(&err); } } else { - p = eval_to_string(expr, NULL, false); + p = (char_u *)eval_to_string((char *)expr, NULL, false); xfree(expr); } textlock--; |