]> git.eshelyaron.com Git - emacs.git/commitdiff
(mark_object): Add no-op cast.
authorRichard M. Stallman <rms@gnu.org>
Sun, 6 Mar 1994 22:07:19 +0000 (22:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 6 Mar 1994 22:07:19 +0000 (22:07 +0000)
src/alloc.c

index 402bc9486ef3ba30fd7bd6d4baa6c791632f296f..b9299a060c2bf82a7dfc015917b8138989e92149 100644 (file)
@@ -1551,7 +1551,9 @@ mark_object (objptr)
            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;
       }