# HG changeset patch # User Richard M. Stallman # Date 1053175232 0 # Node ID ffa1dc43c9979f4b7c99fa1061f75d7f47daca8d # Parent 323ddc93f3fea4a7fb3f542ac8dd74425367a5dc (Fgarbage_collect): Cast pointers into specpdl to avoid GCC warning. diff -r 323ddc93f3fe -r ffa1dc43c997 src/alloc.c --- a/src/alloc.c Sat May 17 10:17:57 2003 +0000 +++ b/src/alloc.c Sat May 17 12:40:32 2003 +0000 @@ -4215,8 +4215,9 @@ 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) {