updated for version 7.3.459

Problem:    Win32: Warnings for type conversion.
Solution:   Add type casts. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2012-02-29 13:58:47 +01:00
parent 7f29f7a2f4
commit 4336cdf318
3 changed files with 4 additions and 2 deletions

View File

@ -2074,7 +2074,7 @@ ga_grow(gap, n)
n = gap->ga_growsize;
new_len = gap->ga_itemsize * (gap->ga_len + n);
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)
return FAIL;
old_len = gap->ga_itemsize * gap->ga_maxlen;

View File

@ -264,7 +264,7 @@ get_exe_name(void)
static void
unescape_shellxquote(char_u *p, char_u *escaped)
{
int l = STRLEN(p);
int l = (int)STRLEN(p);
int n;
while (*p != NUL)

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
459,
/**/
458,
/**/