summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-23 13:54:51 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-23 13:54:51 +0000
commit3c5999e53d9f35a30abefb7224f66a75c8ffb009 (patch)
tree0a84a85aa8d156d6feee967799bf05347bc7aa88
parenta915fa010330ee7212e06d3511acd363d04d2d28 (diff)
downloadvim-git-3c5999e53d9f35a30abefb7224f66a75c8ffb009.tar.gz
patch 8.2.4613: return type of swapfile_unchanged() is wrongv8.2.4613
Problem: Return type of swapfile_unchanged() is wrong. Solution: Use "int". (closes #10000 Yeah!)
-rw-r--r--src/memline.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c
index e1a4cb340..7b453cd47 100644
--- 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
index f304ef3e6..695ddaf0c 100644
--- 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,