mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.1587
Problem: Compiler warnings with 64 bit compiler. Solution: Add type casts. (Mike Williams)
This commit is contained in:
@@ -3272,7 +3272,7 @@ do_in_runtimepath(
|
|||||||
|
|
||||||
if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_START))
|
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);
|
s = alloc(len);
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
return FAIL;
|
return FAIL;
|
||||||
@@ -3283,7 +3283,7 @@ do_in_runtimepath(
|
|||||||
|
|
||||||
if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_OPT))
|
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);
|
s = alloc(len);
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1587,
|
||||||
/**/
|
/**/
|
||||||
1586,
|
1586,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user