diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-02-27 12:29:33 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-03-04 19:52:41 +0100 |
commit | 4d2744ffe30c785ff19624831e36d01e3f6a6089 (patch) | |
tree | 31d0c58da0d3ec11c234a1152be0b9cf555de790 /src/nvim/debugger.c | |
parent | 83fc914337100d03f2e41a3943ccf0107d893698 (diff) | |
download | rneovim-4d2744ffe30c785ff19624831e36d01e3f6a6089.tar.gz rneovim-4d2744ffe30c785ff19624831e36d01e3f6a6089.tar.bz2 rneovim-4d2744ffe30c785ff19624831e36d01e3f6a6089.zip |
refactor: fix clang-tidy bugprone-signed-char-misuse warnings
Prefer to declare variables with correct type instead of explicit casts
wherever possible.
Diffstat (limited to 'src/nvim/debugger.c')
-rw-r--r-- | src/nvim/debugger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/debugger.c b/src/nvim/debugger.c index 75ebf0084e..b48a3155b6 100644 --- a/src/nvim/debugger.c +++ b/src/nvim/debugger.c @@ -201,7 +201,7 @@ void do_debug(char_u *cmd) if (last_cmd != 0) { // Check that the tail matches. p++; - while (*p != NUL && *p == *tail) { + while (*p != NUL && *p == (char_u)(*tail)) { p++; tail++; } |