Skip to content

Commit 6bcb182

Browse files
committed
patch 8.2.3132: compiler warns for size_t to colnr_T conversion.
Problem: Compiler warns for size_t to colnr_T conversion. (Randall W. Morris) Solution: Add a type cast.
1 parent 981217c commit 6bcb182

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/drawscreen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2036,7 +2036,7 @@ win_update(win_T *wp)
20362036
{
20372037
colnr_T t;
20382038

2039-
pos.col = STRLEN(ml_get_buf(wp->w_buffer,
2039+
pos.col = (int)STRLEN(ml_get_buf(wp->w_buffer,
20402040
pos.lnum, FALSE));
20412041
getvvcol(wp, &pos, NULL, NULL, &t);
20422042
if (toc < t)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,8 @@ static char *(features[]) =
755755

756756
static int included_patches[] =
757757
{ /* Add new patch number below this line */
758+
/**/
759+
3132,
758760
/**/
759761
3131,
760762
/**/

0 commit comments

Comments
 (0)