patch 7.4.1396
Problem: Compiler warnings for conversions.
Solution: Add type cast.
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 9601409..e105fa0 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3087,8 +3087,8 @@
if (strstr((char *)p_rtp, (char *)fname) == NULL)
{
/* directory not in 'runtimepath', add it */
- oldlen = STRLEN(p_rtp);
- addlen = STRLEN(fname);
+ oldlen = (int)STRLEN(p_rtp);
+ addlen = (int)STRLEN(fname);
new_rtp = alloc(oldlen + addlen + 2);
if (new_rtp == NULL)
{
@@ -3130,7 +3130,7 @@
int len;
char *pat;
- len = STRLEN(pattern) + STRLEN(eap->arg);
+ len = (int)STRLEN(pattern) + (int)STRLEN(eap->arg);
pat = (char *)alloc(len);
if (pat == NULL)
return;
diff --git a/src/version.c b/src/version.c
index d028ca5..a476aae 100644
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1396,
+/**/
1395,
/**/
1394,