commit | 420fabcd4ffeaf79082a6e43db91e1d363f88f27 | [log] [tgz] |
---|---|---|
author | =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> | Fri Jan 28 15:28:04 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jan 28 15:28:04 2022 +0000 |
tree | 89938a5800078e96cdf992aca87e1c79a2f255ac | |
parent | fb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e [diff] [blame] |
patch 8.2.4241: some type casts are redundant Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
diff --git a/src/fold.c b/src/fold.c index 73c7116..3f8de1c 100644 --- a/src/fold.c +++ b/src/fold.c
@@ -2637,7 +2637,7 @@ // to stop just above startlnum. fp->fd_len = startlnum - fp->fd_top; foldMarkAdjustRecurse(&fp->fd_nested, - (linenr_T)fp->fd_len, (linenr_T)MAXLNUM, + fp->fd_len, (linenr_T)MAXLNUM, (linenr_T)MAXLNUM, 0L); fold_changed = TRUE; }