mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
Merge pull request #19971 from dundargoc/refactor/remove-casts
refactor: remove redundant casts
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user