mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
refactor: remove redundant casts
This commit is contained in:
@@ -731,7 +731,7 @@ int get_number_indent(linenr_T lnum)
|
||||
|
||||
// vim_regexec() expects a pointer to a line. This lets us
|
||||
// start matching for the flp beyond any comment leader...
|
||||
if (vim_regexec(®match, ml_get(lnum) + lead_len, (colnr_T)0)) {
|
||||
if (vim_regexec(®match, ml_get(lnum) + lead_len, 0)) {
|
||||
pos.lnum = lnum;
|
||||
pos.col = (colnr_T)(*regmatch.endp - ml_get(lnum));
|
||||
pos.coladd = 0;
|
||||
|
Reference in New Issue
Block a user