]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove overenthusiastic eassert
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Dec 2015 23:07:19 +0000 (15:07 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Dec 2015 23:07:40 +0000 (15:07 -0800)
* 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

src/lisp.h

index 8428b6a95d7b478093c2761a4a4806dd22fad0e2..ee9b7b62bf41a8cd98b9e80d66b2ce8b8b182cab 100644 (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;
 }