Merge pull request #19971 from dundargoc/refactor/remove-casts

refactor: remove redundant casts
This commit is contained in:
bfredl
2022-08-29 13:23:43 +02:00
committed by GitHub
6 changed files with 77 additions and 77 deletions

View File

@@ -704,8 +704,8 @@ static linenr_T find_longest_lnum(void)
max = len;
ret = lnum;
} else if (len == (colnr_T)max
&& abs((int)(lnum - curwin->w_cursor.lnum))
< abs((int)(ret - curwin->w_cursor.lnum))) {
&& abs(lnum - curwin->w_cursor.lnum)
< abs(ret - curwin->w_cursor.lnum)) {
ret = lnum;
}
}