Commit fa42e88f authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fgarbage_collect): Cast pointers into specpdl to avoid GCC warning.

parent 3b623bff
......@@ -4215,8 +4215,9 @@ Garbage collection happens automatically if you cons more than
mark_byte_stack ();
for (bind = specpdl; bind != specpdl_ptr; bind++)
{
mark_object (&bind->symbol);
mark_object (&bind->old_value);
/* These casts avoid a warning for discarding `volatile'. */
mark_object ((Lisp_Object *) &bind->symbol);
mark_object ((Lisp_Object *) &bind->old_value);
}
for (catch = catchlist; catch; catch = catch->next)
{
......
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