# HG changeset patch # User Richard M. Stallman # Date 865211540 0 # Node ID 7e13abad5ccaaf0209139029e74cf2687ffaafef # Parent b129c5fd792554b7c8f6102ed3f015d53caea1f3 (Fwrite_region, build_annotations): Set start and end using XFASTINT. diff -r b129c5fd7925 -r 7e13abad5cca src/fileio.c --- 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);