0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.4613: return type of swapfile_unchanged() is wrong

Problem:    Return type of swapfile_unchanged() is wrong.
Solution:   Use "int". (closes #10000  Yeah!)
This commit is contained in:
zeertzjq 2022-03-23 13:54:51 +00:00 committed by Bram Moolenaar
parent a915fa0103
commit 3c5999e53d
2 changed files with 3 additions and 1 deletions

View File

@ -2261,7 +2261,7 @@ swapfile_info(char_u *fname)
* Return TRUE if the swap file looks OK and there are no changes, thus it can * Return TRUE if the swap file looks OK and there are no changes, thus it can
* be safely deleted. * be safely deleted.
*/ */
static time_t static int
swapfile_unchanged(char_u *fname) swapfile_unchanged(char_u *fname)
{ {
stat_T st; stat_T st;

View File

@ -750,6 +750,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 */
/**/
4613,
/**/ /**/
4612, 4612,
/**/ /**/