commit | 3c5999e53d9f35a30abefb7224f66a75c8ffb009 | [log] [tgz] |
---|---|---|
author | zeertzjq <zeertzjq@outlook.com> | Wed Mar 23 13:54:51 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Mar 23 13:54:51 2022 +0000 |
tree | 0a84a85aa8d156d6feee967799bf05347bc7aa88 | |
parent | a915fa010330ee7212e06d3511acd363d04d2d28 [diff] [blame] |
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!)
diff --git a/src/memline.c b/src/memline.c index e1a4cb3..7b453cd 100644 --- a/src/memline.c +++ b/src/memline.c
@@ -2261,7 +2261,7 @@ * 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;