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)
diff --git a/src/message.c b/src/message.c
index bff54d0..aa3506e 100644
--- a/src/message.c
+++ b/src/message.c
@@ -2285,7 +2285,7 @@
redraw_win_later(wp, UPD_NOT_VALID);
// set msg_col so that a newline is written if needed
- msg_col = STRLEN(t_s);
+ msg_col = (int)STRLEN(t_s);
}
#endif
diff --git a/src/version.c b/src/version.c
index 80a532e..69cfafe 100644
--- a/src/version.c
+++ b/src/version.c
@@ -708,6 +708,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 298,
+/**/
297,
/**/
296,