diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-03-23 13:54:51 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-23 13:54:51 +0000 |
commit | 3c5999e53d9f35a30abefb7224f66a75c8ffb009 (patch) | |
tree | 0a84a85aa8d156d6feee967799bf05347bc7aa88 /src/memline.c | |
parent | a915fa010330ee7212e06d3511acd363d04d2d28 (diff) | |
download | vim-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!)
Diffstat (limited to 'src/memline.c')
-rw-r--r-- | src/memline.c | 2 |
1 files changed, 1 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; |