changeset 9331:bbf226780027

(validate_interval_range): Don't use XFASTINT as an lvalue.
author Karl Heuer <kwzh@gnu.org>
date Tue, 04 Oct 1994 17:19:36 +0000
parents 28fcacb58a38
children 1ff5359ac932
files src/textprop.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/textprop.c	Tue Oct 04 17:10:36 1994 +0000
+++ b/src/textprop.c	Tue Oct 04 17:19:36 1994 +0000
@@ -141,9 +141,9 @@
 	args_out_of_range (*begin, *end);
       /* User-level Positions in strings start with 0,
 	 but the interval code always wants positions starting with 1.  */
-      XFASTINT (*begin) += 1;
+      XSETFASTINT (*begin, XFASTINT (*begin) + 1);
       if (begin != end)
-	XFASTINT (*end) += 1;
+	XSETFASTINT (*end, XFASTINT (*end) + 1);
       i = s->intervals;
 
       if (s->size == 0)