From 3c5999e53d9f35a30abefb7224f66a75c8ffb009 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 23 Mar 2022 13:54:51 +0000 Subject: 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!) --- src/memline.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/memline.c b/src/memline.c index e1a4cb340d..7b453cd474 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 f304ef3e6f..695ddaf0c7 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4613, /**/ 4612, /**/ -- cgit v1.2.3