Patch 9.0.0298
Problem: Compiler warning for size_t to int conversion.
Solution: Add a type cast. (Wilhelm Payne, closes #11000)
Files: src/message.c
*** ../vim-9.0.0297/src/message.c 2022-08-28 14:39:34.355253105 +0100
--- src/message.c 2022-08-28 17:06:41.893993785 +0100
***************
*** 2285,2291 ****
redraw_win_later(wp, UPD_NOT_VALID);
// set msg_col so that a newline is written if needed
! msg_col = STRLEN(t_s);
}
#endif
--- 2285,2291 ----
redraw_win_later(wp, UPD_NOT_VALID);
// set msg_col so that a newline is written if needed
! msg_col = (int)STRLEN(t_s);
}
#endif
*** ../vim-9.0.0297/src/version.c 2022-08-28 16:38:57.408641746 +0100
--- src/version.c 2022-08-28 17:07:59.985929387 +0100
***************
*** 709,710 ****
--- 709,712 ----
{ /* Add new patch number below this line */
+ /**/
+ 298,
/**/
--
TERRY GILLIAM PLAYED: PATSY (ARTHUR'S TRUSTY STEED), THE GREEN KNIGHT
SOOTHSAYER, BRIDGEKEEPER, SIR GAWAIN (THE FIRST TO BE
KILLED BY THE RABBIT)
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///