changeset 18107:7e13abad5cca

(Fwrite_region, build_annotations): Set start and end using XFASTINT.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Jun 1997 00:32:20 +0000
parents b129c5fd7925
children af791b0f0657
files src/fileio.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Mon Jun 02 00:28:46 1997 +0000
+++ b/src/fileio.c	Mon Jun 02 00:32:20 1997 +0000
@@ -3894,8 +3894,8 @@
   annotations = build_annotations (start, end, coding.pre_write_conversion);
   if (current_buffer != given_buffer)
     {
-      start = BEGV;
-      end = ZV;
+      XSETFASTINT (start, BEGV);
+      XSETFASTINT (end, ZV);
     }
 
 #ifdef CLASH_DETECTION
@@ -4205,8 +4205,8 @@
 	 been dealt with by this function.  */
       if (current_buffer != given_buffer)
 	{
-	  start = BEGV;
-	  end = ZV;
+	  XSETFASTINT (start, BEGV);
+	  XSETFASTINT (end, ZV);
 	  annotations = Qnil;
 	}
       Flength (res);   /* Check basic validity of return value */
@@ -4227,8 +4227,8 @@
 		   original_buffer);
       if (current_buffer != given_buffer)
 	{
-	  start = BEGV;
-	  end = ZV;
+	  XSETFASTINT (start, BEGV);
+	  XSETFASTINT (end, ZV);
 	  annotations = Qnil;
 	}
       Flength (res);