Commit 1efc2bb9 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(Fgarbage_collect): Prevent compiler warning for a call

to `mark_object'.
parent 858f7cb4
2000-10-03 Eli Zaretskii <eliz@is.elta.co.il>
* alloc.c (Fgarbage_collect): Prevent compiler warning for a call
to `mark_object'.
2000-10-02 Stefan Monnier <monnier@cs.yale.edu>
* syntax.c (forw_comment): Match nestedness of ender/starter.
......
......@@ -3600,7 +3600,9 @@ Garbage collection happens automatically if you cons more than\n\
for (i = 0; i < tail->nvars; i++)
if (!XMARKBIT (tail->var[i]))
{
mark_object (&tail->var[i]);
/* Explicit casting prevents compiler warning about
discarding the `volatile' qualifier. */
mark_object ((Lisp_Object *)&tail->var[i]);
XMARK (tail->var[i]);
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment