summaryrefslogtreecommitdiffstats
path: root/src/debugger.c
diff options
context:
space:
mode:
author=?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>2021-10-02 11:26:51 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-02 11:26:51 +0100
commitdfa5e464d459f84200a73d178f1ecefe75bbe511 (patch)
tree2bf8a9283ea1bb99757758918884b9a92f2db659 /src/debugger.c
parent51491adfa86fd66a857cd7ec50d0b57dbdf3da59 (diff)
patch 8.2.3460: some type casts are not neededv8.2.3460
Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes #8934)
Diffstat (limited to 'src/debugger.c')
-rw-r--r--src/debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debugger.c b/src/debugger.c
index ec948eb381..e21dd22e67 100644
--- a/src/debugger.c
+++ b/src/debugger.c
@@ -440,7 +440,7 @@ 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 *)"";