forked from aniani/vim
patch 8.1.2252: compiler warning for int size
Problem: Compiler warning for int size. Solution: Add type cast. (Mike Williams)
This commit is contained in:
@@ -79,7 +79,7 @@ get_short_pathname(char_u **fnamep, char_u **bufp, int *fnamelen)
|
|||||||
vim_free(wfname);
|
vim_free(wfname);
|
||||||
vim_free(newbuf);
|
vim_free(newbuf);
|
||||||
|
|
||||||
*fnamelen = l == 0 ? l : STRLEN(*bufp);
|
*fnamelen = l == 0 ? l : (int)STRLEN(*bufp);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
2252,
|
||||||
/**/
|
/**/
|
||||||
2251,
|
2251,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user