* src/fns.c (Fsafe_length): Yet another int/Lisp_Object mixup.
This commit is contained in:
parent
25aef8b85b
commit
ff2bc4101a
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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; ; )
|
||||
|
|
Loading…
Add table
Reference in a new issue