aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/debugger.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-01 11:18:17 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-03 10:33:40 +0200
commitb9bdd0f61e5e7365c07aadbc3f796556b6d85fdf (patch)
tree807bb0bcb4a551285e7c1f739b1b201d49d58261 /src/nvim/debugger.c
parent46734cf7c1e5abe8e452354db6914364bfe89f0d (diff)
downloadrneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.gz
rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.bz2
rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/debugger.c')
-rw-r--r--src/nvim/debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/debugger.c b/src/nvim/debugger.c
index c6fd8aade3..cf062cfbe8 100644
--- a/src/nvim/debugger.c
+++ b/src/nvim/debugger.c
@@ -461,7 +461,7 @@ static typval_T *eval_expr_no_emsg(struct debuggy *const bp)
{
// Disable error messages, a bad expression would make Vim unusable.
emsg_off++;
- typval_T *const tv = eval_expr(bp->dbg_name);
+ typval_T *const tv = eval_expr((char *)bp->dbg_name);
emsg_off--;
return tv;
}