mirror of
https://github.com/vim/vim.git
synced 2025-11-06 10:07:45 -05:00
patch 9.0.0298: compiler warning for size_t to int conversion
Problem: Compiler warning for size_t to int conversion. Solution: Add a type cast. (Wilhelm Payne, closes #11000)
This commit is contained in:
committed by
Bram Moolenaar
parent
c8bf59e9b2
commit
8934ec027d
@@ -2285,7 +2285,7 @@ put_msg_win(win_T *wp, int where, char_u *t_s, char_u *end, linenr_T lnum)
|
|||||||
redraw_win_later(wp, UPD_NOT_VALID);
|
redraw_win_later(wp, UPD_NOT_VALID);
|
||||||
|
|
||||||
// set msg_col so that a newline is written if needed
|
// set msg_col so that a newline is written if needed
|
||||||
msg_col = STRLEN(t_s);
|
msg_col = (int)STRLEN(t_s);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -707,6 +707,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 */
|
||||||
|
/**/
|
||||||
|
298,
|
||||||
/**/
|
/**/
|
||||||
297,
|
297,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user