1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-28 07:50:48 -08:00

Remove overenthusiastic eassert

* src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
previous change.  It breaks on MS-Windows --with-wide-int.
Problem reported by Eli Zaretskii in:
http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
This commit is contained in:
Paul Eggert 2015-12-06 15:07:19 -08:00
parent 6aa37b26b8
commit b44caf951a

View file

@ -941,7 +941,6 @@ XSYMBOL (Lisp_Object a)
{
eassert (SYMBOLP (a));
intptr_t i = (intptr_t) XUNTAG (a, Lisp_Symbol);
eassert (0 <= i);
void *p = (char *) lispsym + i;
return p;
}