diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -4190,7 +4190,7 @@ maybe_resize_hash_table (struct Lisp_Hash_Table *h) | |||
| 4190 | avoid problems if memory is exhausted. larger_vecalloc | 4190 | avoid problems if memory is exhausted. larger_vecalloc |
| 4191 | finishes computing the size of the replacement vectors. */ | 4191 | finishes computing the size of the replacement vectors. */ |
| 4192 | Lisp_Object next = larger_vecalloc (h->next, new_size - old_size, | 4192 | Lisp_Object next = larger_vecalloc (h->next, new_size - old_size, |
| 4193 | PTRDIFF_MAX / 2); | 4193 | new_size); |
| 4194 | ptrdiff_t next_size = ASIZE (next); | 4194 | ptrdiff_t next_size = ASIZE (next); |
| 4195 | for (ptrdiff_t i = old_size; i < next_size - 1; i++) | 4195 | for (ptrdiff_t i = old_size; i < next_size - 1; i++) |
| 4196 | gc_aset (next, i, make_fixnum (i + 1)); | 4196 | gc_aset (next, i, make_fixnum (i + 1)); |