mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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.
This commit is contained in:
@@ -2036,7 +2036,7 @@ win_update(win_T *wp)
|
|||||||
{
|
{
|
||||||
colnr_T t;
|
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));
|
pos.lnum, FALSE));
|
||||||
getvvcol(wp, &pos, NULL, NULL, &t);
|
getvvcol(wp, &pos, NULL, NULL, &t);
|
||||||
if (toc < t)
|
if (toc < t)
|
||||||
|
@@ -755,6 +755,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3132,
|
||||||
/**/
|
/**/
|
||||||
3131,
|
3131,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user