mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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:
parent
197c6b7da3
commit
2ade714728
@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user