summaryrefslogtreecommitdiffstats
path: root/src/memline.c
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 /src/memline.c
parenta915fa010330ee7212e06d3511acd363d04d2d28 (diff)
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!)
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c2
1 files changed, 1 insertions, 1 deletions
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;