1
0
Fork 0
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:
Bram Moolenaar 2019-11-04 20:36:50 +01:00
parent 197c6b7da3
commit 2ade714728
2 changed files with 3 additions and 1 deletions

View file

@ -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;
}

View file

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