mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
refactor: fix clang-tidy bugprone-signed-char-misuse warnings
Prefer to declare variables with correct type instead of explicit casts wherever possible.
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user