Skip to content

Commit

Permalink
patch 8.2.3132: compiler warns for size_t to colnr_T conversion.
Browse files Browse the repository at this point in the history
Problem:    Compiler warns for size_t to colnr_T conversion. (Randall W.
            Morris)
Solution:   Add a type cast.
  • Loading branch information
brammool committed Jul 9, 2021
1 parent 981217c commit 6bcb182
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/drawscreen.c
Expand Up @@ -2036,7 +2036,7 @@ win_update(win_T *wp)
{
colnr_T t;

pos.col = STRLEN(ml_get_buf(wp->w_buffer,
pos.col = (int)STRLEN(ml_get_buf(wp->w_buffer,
pos.lnum, FALSE));
getvvcol(wp, &pos, NULL, NULL, &t);
if (toc < t)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -755,6 +755,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3132,
/**/
3131,
/**/
Expand Down

0 comments on commit 6bcb182

Please sign in to comment.