mirror of
https://github.com/vim/vim
synced 2025-03-30 22:46:45 +02: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
2 changed files with 3 additions and 1 deletions
|
@ -79,7 +79,7 @@ get_short_pathname(char_u **fnamep, char_u **bufp, int *fnamelen)
|
|||
vim_free(wfname);
|
||||
vim_free(newbuf);
|
||||
|
||||
*fnamelen = l == 0 ? l : STRLEN(*bufp);
|
||||
*fnamelen = l == 0 ? l : (int)STRLEN(*bufp);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
|||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2252,
|
||||
/**/
|
||||
2251,
|
||||
/**/
|
||||
|
|
Loading…
Add table
Reference in a new issue