# HG changeset patch # User Bram Moolenaar # Date 1648044004 -3600 # Node ID 3cc909ea91a893cce430d129b7f8648b056519d0 # Parent da9fe882032a74fa21ee746a4cdeaf02eb196016 patch 8.2.4613: return type of swapfile_unchanged() is wrong Commit: https://github.com/vim/vim/commit/3c5999e53d9f35a30abefb7224f66a75c8ffb009 Author: zeertzjq Date: Wed Mar 23 13:54:51 2022 +0000 patch 8.2.4613: return type of swapfile_unchanged() is wrong Problem: Return type of swapfile_unchanged() is wrong. Solution: Use "int". (closes https://github.com/vim/vim/issues/10000 Yeah!) diff --git a/src/memline.c b/src/memline.c --- a/src/memline.c +++ b/src/memline.c @@ -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 * be safely deleted. */ - static time_t + static int swapfile_unchanged(char_u *fname) { stat_T st; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4613, +/**/ 4612, /**/ 4611,