updated for version 7.3.459
Problem: Win32: Warnings for type conversion. Solution: Add type casts. (Mike Williams)
This commit is contained in:
@ -2074,7 +2074,7 @@ ga_grow(gap, n)
|
|||||||
n = gap->ga_growsize;
|
n = gap->ga_growsize;
|
||||||
new_len = gap->ga_itemsize * (gap->ga_len + n);
|
new_len = gap->ga_itemsize * (gap->ga_len + n);
|
||||||
pp = (gap->ga_data == NULL)
|
pp = (gap->ga_data == NULL)
|
||||||
? alloc(new_len) : vim_realloc(gap->ga_data, new_len);
|
? alloc((unsigned)new_len) : vim_realloc(gap->ga_data, new_len);
|
||||||
if (pp == NULL)
|
if (pp == NULL)
|
||||||
return FAIL;
|
return FAIL;
|
||||||
old_len = gap->ga_itemsize * gap->ga_maxlen;
|
old_len = gap->ga_itemsize * gap->ga_maxlen;
|
||||||
|
|||||||
@ -264,7 +264,7 @@ get_exe_name(void)
|
|||||||
static void
|
static void
|
||||||
unescape_shellxquote(char_u *p, char_u *escaped)
|
unescape_shellxquote(char_u *p, char_u *escaped)
|
||||||
{
|
{
|
||||||
int l = STRLEN(p);
|
int l = (int)STRLEN(p);
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
while (*p != NUL)
|
while (*p != NUL)
|
||||||
|
|||||||
@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
459,
|
||||||
/**/
|
/**/
|
||||||
458,
|
458,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user