forked from aniani/vim
patch 8.2.3460: some type casts are not needed
Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes #8934)
This commit is contained in:
committed by
Bram Moolenaar
parent
51491adfa8
commit
dfa5e464d4
@@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3460,
|
||||
/**/
|
||||
3459,
|
||||
/**/
|
||||
@@ -7746,7 +7748,7 @@ ex_version(exarg_T *eap)
|
||||
static void
|
||||
version_msg_wrap(char_u *s, int wrap)
|
||||
{
|
||||
int len = (int)vim_strsize(s) + (wrap ? 2 : 0);
|
||||
int len = vim_strsize(s) + (wrap ? 2 : 0);
|
||||
|
||||
if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns
|
||||
&& *s != '\n')
|
||||
@@ -7798,7 +7800,7 @@ list_in_columns(char_u **items, int size, int current)
|
||||
// width.
|
||||
for (i = 0; size < 0 ? items[i] != NULL : i < size; ++i)
|
||||
{
|
||||
int l = (int)vim_strsize(items[i]) + (i == current ? 2 : 0);
|
||||
int l = vim_strsize(items[i]) + (i == current ? 2 : 0);
|
||||
|
||||
if (l > width)
|
||||
width = l;
|
||||
|
||||
Reference in New Issue
Block a user