changeset 9319:7969182b6cc6

(skip_chars, Fmatch_data, Fstore_match_data): Don't use XFASTINT as an lvalue.
author Karl Heuer <kwzh@gnu.org>
date Tue, 04 Oct 1994 16:12:32 +0000
parents a14cc1712337
children 4be3f8f9f090
files src/search.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Tue Oct 04 16:10:39 1994 +0000
+++ b/src/search.c	Tue Oct 04 16:12:32 1994 +0000
@@ -434,9 +434,9 @@
      bfox turned the ZV part on, and rms turned the
      BEGV part back on.  */
   if (XINT (lim) > ZV)
-    XFASTINT (lim) = ZV;
+    XSETFASTINT (lim, ZV);
   if (XINT (lim) < BEGV)
-    XFASTINT (lim) = BEGV;
+    XSETFASTINT (lim, BEGV);
 
   p = XSTRING (string)->data;
   pend = p + XSTRING (string)->size;
@@ -1501,8 +1501,8 @@
 	{
 	  if (EQ (last_thing_searched, Qt))
 	    {
-	      XFASTINT (data[2 * i]) = start;
-	      XFASTINT (data[2 * i + 1]) = search_regs.end[i];
+	      XSETFASTINT (data[2 * i], start);
+	      XSETFASTINT (data[2 * i + 1], search_regs.end[i]);
 	    }
 	  else if (BUFFERP (last_thing_searched))
 	    {
@@ -1587,7 +1587,7 @@
 	  if (MARKERP (marker))
 	    {
 	      if (XMARKER (marker)->buffer == 0)
-		XFASTINT (marker) = 0;
+		XSETFASTINT (marker, 0);
 	      else
 		XSETBUFFER (last_thing_searched, XMARKER (marker)->buffer);
 	    }
@@ -1598,7 +1598,7 @@
 
 	  marker = Fcar (list);
 	  if (MARKERP (marker) && XMARKER (marker)->buffer == 0)
-	    XFASTINT (marker) = 0;
+	    XSETFASTINT (marker, 0);
 
 	  CHECK_NUMBER_COERCE_MARKER (marker, 0);
 	  search_regs.end[i] = XINT (marker);