Mercurial > emacs
changeset 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 | 323ddc93f3fe |
children | 7ef125284156 |
files | src/alloc.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) {