diff src/memline.c @ 2241:60da25e3aab7 vim73

Correct use of long instead of off_t for file size. (James Vega)
author Bram Moolenaar <bram@vim.org>
date Mon, 31 May 2010 21:59:46 +0200
parents 6b4879aea261
children c08f91142c41
line wrap: on
line diff
--- 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;