* src/lisp.h (struct Lisp_Subr): Remove const qualifier from
'native_c_name'.
* src/alloc.c (cleanup_vector): Cast to discard const qualifier.
PSEUDOVEC_STRUCT (vector, Lisp_Subr);
if (!NILP (subr->native_comp_u[0]))
{
- xfree (subr->symbol_name);
+ /* FIXME Alternative and non invasive solution to this
+ cast? */
+ xfree ((char *)subr->symbol_name);
xfree (subr->native_c_name[0]);
}
}
};
EMACS_INT doc;
Lisp_Object native_comp_u[NATIVE_COMP_FLAG];
- const char *native_c_name[NATIVE_COMP_FLAG];
+ char *native_c_name[NATIVE_COMP_FLAG];
} GCALIGNED_STRUCT;
union Aligned_Lisp_Subr
{