changeset 32099:31541e0a2704

(Fgarbage_collect): Prevent compiler warning for a call to `mark_object'.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 03 Oct 2000 12:46:35 +0000
parents a9ddd9042aff
children eaa702f85ae9
files src/alloc.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Tue Oct 03 12:34:56 2000 +0000
+++ b/src/alloc.c	Tue Oct 03 12:46:35 2000 +0000
@@ -3600,7 +3600,9 @@
     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