patch 8.0.1626: compiler warning for possible loss of data
Problem: Compiler warning for possible loss of data.
Solution: Use size_t instead of int. (Christian Brabandt)
diff --git a/src/terminal.c b/src/terminal.c
index 0d035ff..18da710 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -3773,9 +3773,9 @@
if (opt.jo_term_name == NULL)
{
- int len = STRLEN(fname1) + 12;
+ size_t len = STRLEN(fname1) + 12;
- fname_tofree = alloc(len);
+ fname_tofree = alloc((int)len);
if (fname_tofree != NULL)
{
vim_snprintf((char *)fname_tofree, len, "dump diff %s", fname1);
diff --git a/src/version.c b/src/version.c
index 3c57f0a..e4878d6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -767,6 +767,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1626,
+/**/
1625,
/**/
1624,