aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/fns.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e8aa1c67d3c..f8e791285b1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * fns.c (Fsafe_length): Yet another int/Lisp_Object mixup.
4
12011-06-16 Paul Eggert <eggert@cs.ucla.edu> 52011-06-16 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 * lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX. 7 * lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX.
diff --git a/src/fns.c b/src/fns.c
index a19c886e3e1..8057e429176 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -168,7 +168,7 @@ which is at least the number of distinct elements. */)
168 uintmax_t lolen = 1; 168 uintmax_t lolen = 1;
169 169
170 if (! CONSP (list)) 170 if (! CONSP (list))
171 return 0; 171 return make_number (0);
172 172
173 /* halftail is used to detect circular lists. */ 173 /* halftail is used to detect circular lists. */
174 for (tail = halftail = list; ; ) 174 for (tail = halftail = list; ; )