]> git.eshelyaron.com Git - emacs.git/commitdiff
(store_function_docstring): Don't use XFASTINT as an lvalue.
authorKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 15:48:16 +0000 (15:48 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 15:48:16 +0000 (15:48 +0000)
src/doc.c

index 937181e8edf38055c70a906736e74340d279c8d6..8d84c8e7c4052b255b25729ab9fa5cd542bc8afd 100644 (file)
--- a/src/doc.c
+++ b/src/doc.c
@@ -262,7 +262,7 @@ store_function_docstring (fun, offset)
        {
          tem = Fcdr (Fcdr (fun));
          if (CONSP (tem) && INTEGERP (XCONS (tem)->car))
-           XFASTINT (XCONS (tem)->car) = offset;
+           XSETFASTINT (XCONS (tem)->car, offset);
        }
       else if (EQ (tem, Qmacro))
        store_function_docstring (XCONS (fun)->cdr, offset);
@@ -274,7 +274,7 @@ store_function_docstring (fun, offset)
       /* This bytecode object must have a slot for the
         docstring, since we've found a docstring for it.  */
       if (XVECTOR (fun)->size > COMPILED_DOC_STRING)
-       XFASTINT (XVECTOR (fun)->contents[COMPILED_DOC_STRING]) = offset;
+       XSETFASTINT (XVECTOR (fun)->contents[COMPILED_DOC_STRING], offset);
     }
 }