aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index cf7778c05f6..7c461c5a6af 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2701,8 +2701,10 @@ make_float (double float_value)
2701 GC are put on a free list to be reallocated before allocating 2701 GC are put on a free list to be reallocated before allocating
2702 any new cons cells from the latest cons_block. */ 2702 any new cons cells from the latest cons_block. */
2703 2703
2704#define CONS_BLOCK_SIZE \ 2704#define CONS_BLOCK_SIZE \
2705 (((BLOCK_BYTES - sizeof (struct cons_block *)) * CHAR_BIT) \ 2705 (((BLOCK_BYTES - sizeof (struct cons_block *) \
2706 /* The compiler might add padding at the end. */ \
2707 - (sizeof (struct Lisp_Cons) - sizeof (int))) * CHAR_BIT) \
2706 / (sizeof (struct Lisp_Cons) * CHAR_BIT + 1)) 2708 / (sizeof (struct Lisp_Cons) * CHAR_BIT + 1))
2707 2709
2708#define CONS_BLOCK(fptr) \ 2710#define CONS_BLOCK(fptr) \