aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/debugger.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-10-03 03:04:21 +0200
committerGitHub <noreply@github.com>2021-10-02 18:04:21 -0700
commitad1c42a97d673b9fd2bf64b2382c87fbe65dfc73 (patch)
tree1dc5d77ed6ba987d0c6af8e492038ad7873e62b4 /src/nvim/debugger.c
parent4449297d12b70f5e6a65365e39aacf5e42303ffd (diff)
downloadrneovim-ad1c42a97d673b9fd2bf64b2382c87fbe65dfc73.tar.gz
rneovim-ad1c42a97d673b9fd2bf64b2382c87fbe65dfc73.tar.bz2
rneovim-ad1c42a97d673b9fd2bf64b2382c87fbe65dfc73.zip
vim-patch:8.2.3460: some type casts are not needed #15868
Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes vim/vim#8934) https://github.com/vim/vim/commit/dfa5e464d459f84200a73d178f1ecefe75bbe511
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 0ddf163176..58b1d9ce7f 100644
--- a/src/nvim/debugger.c
+++ b/src/nvim/debugger.c
@@ -398,7 +398,7 @@ void dbg_check_breakpoint(exarg_T *eap)
// replace K_SNR with "<SNR>"
if (debug_breakpoint_name[0] == K_SPECIAL
&& debug_breakpoint_name[1] == KS_EXTRA
- && debug_breakpoint_name[2] == (int)KE_SNR) {
+ && debug_breakpoint_name[2] == KE_SNR) {
p = (char_u *)"<SNR>";
} else {
p = (char_u *)"";