From 3cf29f61eae43e0e5dc1eb70324cb53e6aa9581e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 2 Jun 1997 00:32:20 +0000 Subject: [PATCH] (Fwrite_region, build_annotations): Set start and end using XFASTINT. --- src/fileio.c | 12 ++++++------ 1 file 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); -- 2.39.5