patch 8.1.2252: compiler warning for int size
Problem: Compiler warning for int size.
Solution: Add type cast. (Mike Williams)
diff --git a/src/filepath.c b/src/filepath.c
index 4ddeeaf..8da6e17 100644
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -79,7 +79,7 @@
vim_free(wfname);
vim_free(newbuf);
- *fnamelen = l == 0 ? l : STRLEN(*bufp);
+ *fnamelen = l == 0 ? l : (int)STRLEN(*bufp);
return OK;
}
diff --git a/src/version.c b/src/version.c
index 767cbec..9b4c386 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2252,
+/**/
2251,
/**/
2250,