summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-06-02 00:32:20 +0000
committerRichard M. Stallman <rms@gnu.org>1997-06-02 00:32:20 +0000
commit9c88a4f7bb81dcc973dc7a6b43572f687de66af9 (patch)
tree45843175d0ab10638274eaa816fadc121a6b675b
parentfe6d5ba6957e93a267c464d9241d90dd072f4684 (diff)
downloademacs-9c88a4f7bb81dcc973dc7a6b43572f687de66af9.tar.gz
(Fwrite_region, build_annotations):
Set start and end using XFASTINT.
-rw-r--r--src/fileio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fileio.c b/src/fileio.c
index fb4b4221854..143148193a4 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3894,8 +3894,8 @@ to the file, instead of any buffer contents, and END is ignored.")
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 @@ build_annotations (start, end, pre_write_conversion)
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 @@ build_annotations (start, end, pre_write_conversion)
original_buffer);
if (current_buffer != given_buffer)
{
- start = BEGV;
- end = ZV;
+ XSETFASTINT (start, BEGV);
+ XSETFASTINT (end, ZV);
annotations = Qnil;
}
Flength (res);