diff src/alloc.c @ 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 80569adf45e4
children 8372dce85f8a
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;
       }