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/drawline.c | |
parent | fb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e (diff) | |
download | vim-git-420fabcd4ffeaf79082a6e43db91e1d363f88f27.tar.gz |
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/drawline.c')
-rw-r--r-- | src/drawline.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drawline.c b/src/drawline.c index 1cf468137..35658a4e8 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -1357,7 +1357,7 @@ win_line( #endif ) { - screen_line(screen_row, wp->w_wincol, col, -(int)wp->w_width, + screen_line(screen_row, wp->w_wincol, col, -wp->w_width, screen_line_flags); // Pretend we have finished updating the window. Except when // 'cursorcolumn' is set. @@ -2846,7 +2846,7 @@ win_line( #endif screen_line(screen_row, wp->w_wincol, col, - (int)wp->w_width, screen_line_flags); + wp->w_width, screen_line_flags); row++; // Update w_cline_height and w_cline_folded if the cursor line was @@ -3147,11 +3147,11 @@ win_line( { #ifdef FEAT_CONCEAL screen_line(screen_row, wp->w_wincol, col - boguscols, - (int)wp->w_width, screen_line_flags); + wp->w_width, screen_line_flags); boguscols = 0; #else screen_line(screen_row, wp->w_wincol, col, - (int)wp->w_width, screen_line_flags); + wp->w_width, screen_line_flags); #endif ++row; ++screen_row; |