summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-10-02 23:57:26 +0000
committerKarl Heuer <kwzh@gnu.org>1994-10-02 23:57:26 +0000
commita89a914a8dc2ec8049cd29157d15c1c2dab4584f (patch)
tree01a1ef69c7f267ad2653a5220de103deaa01e7d3 /src/fileio.c
parenta444c70b513e3e4f5163b21c7ff20c414f7f13af (diff)
downloademacs-a89a914a8dc2ec8049cd29157d15c1c2dab4584f.tar.gz
(Finsert_file_contents): set type of `end', not just the value.
Diffstat (limited to 'src/fileio.c')
-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.")
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");