diff options
Diffstat (limited to 'src/lj_alloc.c')
-rw-r--r-- | src/lj_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_alloc.c b/src/lj_alloc.c index 2d41481d..5de60b82 100644 --- a/src/lj_alloc.c +++ b/src/lj_alloc.c | |||
@@ -597,7 +597,7 @@ static int has_segment_link(mstate m, msegmentptr ss) | |||
597 | noncontiguous segments are added. | 597 | noncontiguous segments are added. |
598 | */ | 598 | */ |
599 | #define TOP_FOOT_SIZE\ | 599 | #define TOP_FOOT_SIZE\ |
600 | (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) | 600 | (align_offset(TWO_SIZE_T_SIZES)+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) |
601 | 601 | ||
602 | /* ---------------------------- Indexing Bins ---------------------------- */ | 602 | /* ---------------------------- Indexing Bins ---------------------------- */ |
603 | 603 | ||