patch 7.4.1587
Problem: Compiler warnings with 64 bit compiler.
Solution: Add type casts. (Mike Williams)
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 19210f3..0a9895a 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3272,7 +3272,7 @@
if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_START))
{
- len = STRLEN(start_dir) + STRLEN(name);
+ len = (int)(STRLEN(start_dir) + STRLEN(name));
s = alloc(len);
if (s == NULL)
return FAIL;
@@ -3283,7 +3283,7 @@
if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_OPT))
{
- len = STRLEN(opt_dir) + STRLEN(name);
+ len = (int)(STRLEN(opt_dir) + STRLEN(name));
s = alloc(len);
if (s == NULL)
return FAIL;
diff --git a/src/version.c b/src/version.c
index ec4f909..6e58e85 100644
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1587,
+/**/
1586,
/**/
1585,