comparison src/alloc.c @ 51029:ffa1dc43c997

(Fgarbage_collect): Cast pointers into specpdl to avoid GCC warning.
author Richard M. Stallman <rms@gnu.org>
date Sat, 17 May 2003 12:40:32 +0000
parents fedd03de0f46
children 42d9bef83464
comparison
equal deleted inserted replaced
51028:323ddc93f3fe 51029:ffa1dc43c997
4213 #endif 4213 #endif
4214 4214
4215 mark_byte_stack (); 4215 mark_byte_stack ();
4216 for (bind = specpdl; bind != specpdl_ptr; bind++) 4216 for (bind = specpdl; bind != specpdl_ptr; bind++)
4217 { 4217 {
4218 mark_object (&bind->symbol); 4218 /* These casts avoid a warning for discarding `volatile'. */
4219 mark_object (&bind->old_value); 4219 mark_object ((Lisp_Object *) &bind->symbol);
4220 mark_object ((Lisp_Object *) &bind->old_value);
4220 } 4221 }
4221 for (catch = catchlist; catch; catch = catch->next) 4222 for (catch = catchlist; catch; catch = catch->next)
4222 { 4223 {
4223 mark_object (&catch->tag); 4224 mark_object (&catch->tag);
4224 mark_object (&catch->val); 4225 mark_object (&catch->val);