mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4241: some type casts are redundant
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
This commit is contained in:
committed by
Bram Moolenaar
parent
fb80862e49
commit
420fabcd4f
@@ -6800,7 +6800,7 @@ ex_resize(exarg_T *eap)
|
||||
n += wp->w_width;
|
||||
else if (n == 0 && eap->arg[0] == NUL) // default is very wide
|
||||
n = 9999;
|
||||
win_setwidth_win((int)n, wp);
|
||||
win_setwidth_win(n, wp);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -6808,7 +6808,7 @@ ex_resize(exarg_T *eap)
|
||||
n += wp->w_height;
|
||||
else if (n == 0 && eap->arg[0] == NUL) // default is very high
|
||||
n = 9999;
|
||||
win_setheight_win((int)n, wp);
|
||||
win_setheight_win(n, wp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7531,7 +7531,7 @@ ex_sleep(exarg_T *eap)
|
||||
{
|
||||
n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled;
|
||||
if (n >= 0)
|
||||
windgoto((int)n, curwin->w_wincol + curwin->w_wcol);
|
||||
windgoto(n, curwin->w_wincol + curwin->w_wcol);
|
||||
}
|
||||
|
||||
len = eap->line2;
|
||||
|
Reference in New Issue
Block a user