aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/debugger.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-29 18:46:38 +0200
committerGitHub <noreply@github.com>2022-08-29 18:46:38 +0200
commit68efac36831fca40c0a15365d0f0fc2d38c43708 (patch)
tree8494afd25e715b063f7a802584a007a8c62be53e /src/nvim/debugger.c
parent126fe7fbc9c88c412c8067d9d146d998baf6dd47 (diff)
parent58f30a326f34319801e7921f32c83e8320d85f6c (diff)
downloadrneovim-68efac36831fca40c0a15365d0f0fc2d38c43708.tar.gz
rneovim-68efac36831fca40c0a15365d0f0fc2d38c43708.tar.bz2
rneovim-68efac36831fca40c0a15365d0f0fc2d38c43708.zip
Merge pull request #19973 from dundargoc/refactor/char_u/3
refactor: replace char_u with char 3: revenge of the unsigned
Diffstat (limited to 'src/nvim/debugger.c')
-rw-r--r--src/nvim/debugger.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/debugger.c b/src/nvim/debugger.c
index 9aee023f0c..9fdeebf68a 100644
--- a/src/nvim/debugger.c
+++ b/src/nvim/debugger.c
@@ -47,7 +47,7 @@ struct debuggy {
/// Debug mode. Repeatedly get Ex commands, until told to continue normal
/// execution.
-void do_debug(char_u *cmd)
+void do_debug(char *cmd)
{
int save_msg_scroll = msg_scroll;
int save_State = State;
@@ -239,11 +239,11 @@ void do_debug(char_u *cmd)
last_cmd = CMD_STEP;
break;
case CMD_BACKTRACE:
- do_showbacktrace(cmd);
+ do_showbacktrace((char_u *)cmd);
continue;
case CMD_FRAME:
if (*p == NUL) {
- do_showbacktrace(cmd);
+ do_showbacktrace((char_u *)cmd);
} else {
p = skipwhite(p);
do_setdebugtracelevel((char_u *)p);
@@ -414,7 +414,7 @@ void dbg_check_breakpoint(exarg_T *eap)
debug_breakpoint_name + (*p == NUL ? 0 : 3),
(int64_t)debug_breakpoint_lnum);
debug_breakpoint_name = NULL;
- do_debug((char_u *)eap->cmd);
+ do_debug(eap->cmd);
} else {
debug_skipped = true;
debug_skipped_name = debug_breakpoint_name;
@@ -422,7 +422,7 @@ void dbg_check_breakpoint(exarg_T *eap)
}
} else if (ex_nesting_level <= debug_break_level) {
if (!eap->skip) {
- do_debug((char_u *)eap->cmd);
+ do_debug(eap->cmd);
} else {
debug_skipped = true;
debug_skipped_name = NULL;