vim-patch:8.2.4241: some type casts are redundant

Problem:    Some type casts are redundant.
Solution:   Remove the type casts. (closes vim/vim#9643)
420fabcd4f

This is not a literal port but an equivalent one.
This commit is contained in:
Dundar Göc
2022-01-28 22:54:03 +01:00
parent 46bd48f7e9
commit 2793fcae0a
16 changed files with 46 additions and 58 deletions

View File

@@ -268,7 +268,7 @@ void do_debug(char_u *cmd)
DOCMD_VERBOSE|DOCMD_EXCRESET);
debug_break_level = n;
}
lines_left = (int)(Rows - 1);
lines_left = Rows - 1;
}
xfree(cmdline);
@@ -277,7 +277,7 @@ void do_debug(char_u *cmd)
redraw_all_later(NOT_VALID);
need_wait_return = false;
msg_scroll = save_msg_scroll;
lines_left = (int)(Rows - 1);
lines_left = Rows - 1;
State = save_State;
debug_mode = false;
did_emsg = save_did_emsg;