patch 9.0.0635: build error and compiler warnings
Problem: Build error and compiler warnings. Solution: Add missing change. Add type casts.
This commit is contained in:
@ -961,12 +961,12 @@ err_closing:
|
|||||||
#endif
|
#endif
|
||||||
if (csinfo[i].ppath != NULL)
|
if (csinfo[i].ppath != NULL)
|
||||||
{
|
{
|
||||||
len = STRLEN(cmd);
|
len = (int)STRLEN(cmd);
|
||||||
vim_snprintf(cmd + len, cmdlen - len, " -P%s", csinfo[i].ppath);
|
vim_snprintf(cmd + len, cmdlen - len, " -P%s", csinfo[i].ppath);
|
||||||
}
|
}
|
||||||
if (csinfo[i].flags != NULL)
|
if (csinfo[i].flags != NULL)
|
||||||
{
|
{
|
||||||
len = STRLEN(cmd);
|
len = (int)STRLEN(cmd);
|
||||||
vim_snprintf(cmd + len, cmdlen - len, " %s", csinfo[i].flags);
|
vim_snprintf(cmd + len, cmdlen - len, " %s", csinfo[i].flags);
|
||||||
}
|
}
|
||||||
# ifdef UNIX
|
# ifdef UNIX
|
||||||
|
|||||||
@ -1906,7 +1906,7 @@ get_expr_indent(void)
|
|||||||
inde_copy = vim_strsave(curbuf->b_p_inde);
|
inde_copy = vim_strsave(curbuf->b_p_inde);
|
||||||
if (inde_copy != NULL)
|
if (inde_copy != NULL)
|
||||||
{
|
{
|
||||||
indent = (int)eval_to_number(inde_copy);
|
indent = (int)eval_to_number(inde_copy, TRUE);
|
||||||
vim_free(inde_copy);
|
vim_free(inde_copy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -699,6 +699,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 */
|
||||||
|
/**/
|
||||||
|
635,
|
||||||
/**/
|
/**/
|
||||||
634,
|
634,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user