aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 42290b8ecaa..855e5d41808 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2691,6 +2691,7 @@ and (2) it puts less data in the undo list.")
2691 CHECK_NUMBER (end, 0); 2691 CHECK_NUMBER (end, 0);
2692 else 2692 else
2693 { 2693 {
2694 XSETTYPE (end, Lisp_Int);
2694 XSETINT (end, st.st_size); 2695 XSETINT (end, st.st_size);
2695 if (XINT (end) != st.st_size) 2696 if (XINT (end) != st.st_size)
2696 error ("maximum buffer size exceeded"); 2697 error ("maximum buffer size exceeded");