changeset 6227:f91d4884806e

(mark_object): Add no-op cast.
author Richard M. Stallman <rms@gnu.org>
date Sun, 06 Mar 1994 22:07:19 +0000
parents d90fbaccf96a
children 116607f5ce37
files src/alloc.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Sun Mar 06 21:05:30 1994 +0000
+++ b/src/alloc.c	Sun Mar 06 22:07:19 1994 +0000
@@ -1551,7 +1551,9 @@
 	    if (i != COMPILED_CONSTANTS)
 	      mark_object (&ptr1->contents[i]);
 	  }
-	objptr = &ptr1->contents[COMPILED_CONSTANTS];
+	/* This cast should be unnecessary, but some Mips compiler complains
+	   (MIPS-ABI + SysVR4, DC/OSx, etc).  */
+	objptr = (Lisp_Object *) &ptr1->contents[COMPILED_CONSTANTS];
 	goto loop;
       }