Skip to content

Commit 1c8b4ed

Browse files
committed
patch 7.4.1587
Problem: Compiler warnings with 64 bit compiler. Solution: Add type casts. (Mike Williams)
1 parent 8a1bb04 commit 1c8b4ed

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/ex_cmds2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3272,7 +3272,7 @@ do_in_runtimepath(
32723272

32733273
if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_START))
32743274
{
3275-
len = STRLEN(start_dir) + STRLEN(name);
3275+
len = (int)(STRLEN(start_dir) + STRLEN(name));
32763276
s = alloc(len);
32773277
if (s == NULL)
32783278
return FAIL;
@@ -3283,7 +3283,7 @@ do_in_runtimepath(
32833283

32843284
if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_OPT))
32853285
{
3286-
len = STRLEN(opt_dir) + STRLEN(name);
3286+
len = (int)(STRLEN(opt_dir) + STRLEN(name));
32873287
s = alloc(len);
32883288
if (s == NULL)
32893289
return FAIL;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ static char *(features[]) =
748748

749749
static int included_patches[] =
750750
{ /* Add new patch number below this line */
751+
/**/
752+
1587,
751753
/**/
752754
1586,
753755
/**/

0 commit comments

Comments
 (0)