summaryrefslogtreecommitdiffstats
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-31 21:59:46 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-31 21:59:46 +0200
commit914703bee2422e2797576e06145380389096ec09 (patch)
treec0d46af3b55b2ddcc5aa9453b0c9b575dd56070a /src/memline.c
parent20a825ae0f90099249924740a5113e6ed413bc66 (diff)
Correct use of long instead of off_t for file size. (James Vega)
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 6f0143cc3e..d9043dce63 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -1983,7 +1983,7 @@ ml_sync_all(check_file, check_char)
*/
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;