changeset 9241:a309baaa249f

(Finsert_file_contents): set type of `end', not just the value.
author Karl Heuer <kwzh@gnu.org>
date Sun, 02 Oct 1994 23:57:26 +0000
parents 60497ceed71a
children 493c74aab5a0
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Sun Oct 02 22:06:26 1994 +0000
+++ b/src/fileio.c	Sun Oct 02 23:57:26 1994 +0000
@@ -2691,6 +2691,7 @@
     CHECK_NUMBER (end, 0);
   else
     {
+      XSETTYPE (end, Lisp_Int);
       XSETINT (end, st.st_size);
       if (XINT (end) != st.st_size)
 	error ("maximum buffer size exceeded");