commit | 914703bee2422e2797576e06145380389096ec09 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon May 31 21:59:46 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon May 31 21:59:46 2010 +0200 |
tree | c0d46af3b55b2ddcc5aa9453b0c9b575dd56070a | |
parent | 20a825ae0f90099249924740a5113e6ed413bc66 [diff] [blame] |
Correct use of long instead of off_t for file size. (James Vega)
diff --git a/src/memline.c b/src/memline.c index 6f0143c..d9043dc 100644 --- a/src/memline.c +++ b/src/memline.c
@@ -1983,7 +1983,7 @@ */ if (mch_stat((char *)buf->b_ffname, &st) == -1 || st.st_mtime != buf->b_mtime_read - || (size_t)st.st_size != buf->b_orig_size) + || st.st_size != buf->b_orig_size) { ml_preserve(buf, FALSE); did_check_timestamps = FALSE;