diff options
author | =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> | 2022-01-28 15:28:04 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-28 15:28:04 +0000 |
commit | 420fabcd4ffeaf79082a6e43db91e1d363f88f27 (patch) | |
tree | 89938a5800078e96cdf992aca87e1c79a2f255ac /src/register.c | |
parent | fb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e (diff) |
patch 8.2.4241: some type casts are redundantv8.2.4241
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643)
Diffstat (limited to 'src/register.c')
-rw-r--r-- | src/register.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/register.c b/src/register.c index 03f7f4ec96..a3af8b337c 100644 --- a/src/register.c +++ b/src/register.c @@ -1842,7 +1842,7 @@ do_put( for (ptr = oldp; vcol < col && *ptr; ) { // Count a tab for what it's worth (if list mode not on) - incr = lbr_chartabsize_adv(oldp, &ptr, (colnr_T)vcol); + incr = lbr_chartabsize_adv(oldp, &ptr, vcol); vcol += incr; } bd.textcol = (colnr_T)(ptr - oldp); |