* src/fns.c (Fsafe_length): Yet another int/Lisp_Object mixup.

This commit is contained in:
Stefan Monnier 2011-06-17 11:18:54 -04:00
parent 25aef8b85b
commit ff2bc4101a
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
* fns.c (Fsafe_length): Yet another int/Lisp_Object mixup.
2011-06-16 Paul Eggert <eggert@cs.ucla.edu>
* lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX.

View file

@ -168,7 +168,7 @@ which is at least the number of distinct elements. */)
uintmax_t lolen = 1;
if (! CONSP (list))
return 0;
return make_number (0);
/* halftail is used to detect circular lists. */
for (tail = halftail = list; ; )