summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-10-04 15:48:16 +0000
committerKarl Heuer <kwzh@gnu.org>1994-10-04 15:48:16 +0000
commitecb342971ce48e587ae0ac4ec6a2d674472fa25f (patch)
treed7a9211fd2c004bdb8bd6bb7faacf2f29600091e /src/doc.c
parent93972b25ca63f41447779fd38f05f704598e8a6c (diff)
downloademacs-ecb342971ce48e587ae0ac4ec6a2d674472fa25f.tar.gz
(store_function_docstring): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc.c b/src/doc.c
index 937181e8edf..8d84c8e7c40 100644
--- 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);
}
}